Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there a full example #56

Closed
dewelloper opened this issue Mar 8, 2018 · 2 comments
Closed

is there a full example #56

dewelloper opened this issue Mar 8, 2018 · 2 comments

Comments

@dewelloper
Copy link

Hello i couldnt create with this example becouse it doesnt make any sence.
I have made a component according the example and that gave me just a page that is writen download source code.. etc.

import React from 'react'

import {
render
} from 'react-dom';
//import { Email, Item, Span, A, renderEmail } from 'react-html-email'
import { Box, Email, Image, Item, Span, A } from 'react-html-email'

//import eml from './XEmail'

const css = @media only screen and (max-device-width: 480px) { font-size: 20px !important; }.trim()

const sourceURL = 'https://raw.githubusercontent.com/chromakode/react-html-email/master/examples/kitchenSink.js'

export const Connect = () => (


Hello, world!


<Box cellSpacing={20} width="100%" style={{ borderTop: '3px solid black' }}>

Generated by react-html-email
react
Source code




)

export default Connect

@neo182
Copy link

neo182 commented Mar 8, 2018

@dewelloper same here...!

@Khangeldy
Copy link

Article in Medium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants