diff --git a/docs/components/graph.md b/docs/components/graph.md index 0c2eea36..c88a928b 100644 --- a/docs/components/graph.md +++ b/docs/components/graph.md @@ -18,7 +18,7 @@ This component is wrapper around [QuickChart API](https://quickchart.io/) for ge Add the graph component to your email template. ```jsx -import { Html, Body, Section, Graph } from 'jsx-email'; +import { Body, Graph, Html, Section } from 'jsx-email'; const Email = () => { return ( diff --git a/docs/core/compile.md b/docs/core/compile.md index c2c38bbd..65298c21 100644 --- a/docs/core/compile.md +++ b/docs/core/compile.md @@ -28,10 +28,10 @@ const compiledFiles = await compile({ files: [templatePath], hashFiles: false, o Once compiled into a bundle, the file can be imported and passed to render such like: ```jsx -import { Template } from './.compiled/batman.js'; - import { render } from 'jsx-email'; +import { Template } from './.compiled/batman.js'; + const html = render(