Skip to content

Commit

Permalink
Fixed kitchenSink.jsx link and default text styles example in README (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemclin authored and chromakode committed Sep 28, 2017
1 parent 8156636 commit 986e8f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Use to assign styles to text.
It can be handy to create an object containing your default text styles for reuse. For example:

```js
const textStyles = {
const textDefaults = {
fontFamily: 'Verdana',
fontSize: 42,
fontWeight: 'bold',
Expand All @@ -120,7 +120,7 @@ Use to format links. Requires an `href` prop. Always sets `target="_blank"` and
An image, without any pesky borders, outlines, or underlines by default. Requires a `src` prop, and `width` and `height` to be set. You can override the default styles (such as adding a border) using the `style` prop.

## Head CSS and Media Queries
You can pass a string prop `headCSS` to your `<Email>` component. You can see it in our [kitchenSink.js](https://github.com/chromakode/react-html-email/blob/master/examples/kitchenSink.js) example.
You can pass a string prop `headCSS` to your `<Email>` component. You can see it in our [kitchenSink.jsx](https://github.com/chromakode/react-html-email/blob/master/examples/kitchenSink.jsx) example.

## Mailchimp attributes
If you're using Mailchimp and need to add their custom `mc:edit` attributes to your markup, we recommend using the [mailchimpify](http://github.com/Roilan/mailchimpify) module.
Expand Down

0 comments on commit 986e8f7

Please sign in to comment.