react-email icon indicating copy to clipboard operation
react-email copied to clipboard

feat(demo): Implement email props with default values

Open ImBaedin opened this issue 3 years ago • 0 comments

Quick PR to add some value to the examples by providing email props and default values for those props.

I pulled the baseUrl variable up a layer in scope to allow the default values to access it. Other than that, all emails that have some variable data have had a new interface created and referenced in the component. Then the object is desctructured and default values added.

Looks like prettier also made a few changes, but they seem to respect the existing top level prettier config.

ImBaedin avatar Jan 25 '23 05:01 ImBaedin