shellscape / jsx-email

Build emails with a delightful DX
https://jsx.email
MIT License
897 stars 28 forks source link

feat(jsx-email): disable default component style #100

Closed shellscape closed 6 months ago

shellscape commented 6 months ago

This PR contains:

Are tests included?

Breaking Changes?

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

This PR add disableDefaultStyle which will allow an author to skip rendering any default styles that are applied to components. This is handy when trying to use classes or tailwind to override default styling.

This also removes the default value of _blank from Link as most clients automatically remove the target attribute, and those which do not override any values present.