Skip to content

Instantly share code, notes, and snippets.

@albertorestifo
Last active March 18, 2017 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save albertorestifo/5b343cdf5c9829725d6891caa756718a to your computer and use it in GitHub Desktop.
Save albertorestifo/5b343cdf5c9829725d6891caa756718a to your computer and use it in GitHub Desktop.
React Email app
@sentis/emails
├── index.js
└── src/
├── App.js
├── elements/
const email = require('@sentisis/emails');
// Some time later
const html = email.generate({
// In the future we'll expand the email app to support
// many different layouts
type: 'alert',
// The data will be used to populate the Redux store
data: { /* ... */ },
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment