diff --git a/README.md b/README.md index 995f1f9..72a625f 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,17 @@ An image, without any pesky borders, outlines, or underlines by default. Require ## Head CSS and Media Queries You can pass a string prop `headCSS` to your `` component. You can see it in our [kitchenSink.jsx](https://github.com/chromakode/react-html-email/blob/master/examples/kitchenSink.jsx) example. +## Head Tags +You can pass a react node prop `headTags` to your `` component if you want to append more tags to the head element. (for example, if you want to add a custom font-family): + +``` +} +> +``` + ## 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. diff --git a/src/components/Email.jsx b/src/components/Email.jsx index 8c51e9b..0726a05 100644 --- a/src/components/Email.jsx +++ b/src/components/Email.jsx @@ -13,6 +13,7 @@ export default function Email(props) { {props.title} + {props.headTags} {props.headCSS && }