fictoan/fictoan-react

Element passes all props to HTML tags

Closed this issue · 0 comments

Styled components require all props to be passed in but Element component passes all props (paddingTop, marginLeft, ...) to all generic HTML elements also.

This leads to endless warnings in the console.

image