Implement XHTML-specific isValidAttr
#4
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently we're using
isValidAttr
fromstyled-components
which prevents non-valid attributes on DOM nodes. Since XHTML supports less/different attributes,styled-email-components
would benefit from a custom xhtml attribute list to avoid "invalid prop" errors and reduce unwanted props destructuring.The text was updated successfully, but these errors were encountered: