Feature Title
Use Transient props (for all non-DOM props) in all styled-components
Feature Description
Pls read about it here:
Would mostly need to add a $ prefix to all NON-DOM props passed to styled-components
Use Case
For example, if component is a StyledInput (styled.input) then some props we would need to pass to the HTML input element (like type, pattern, etc) and some would only be needed to style it in .styles.tsx file and passing these to the DOM is not necessary.
Alternatives Considered
No response
Additional Context
Pls read about it here:
Feature Title
Use Transient props (for all non-DOM props) in all styled-components
Feature Description
Pls read about it here:
Would mostly need to add a
$prefix to all NON-DOM props passed to styled-componentsUse Case
For example, if component is a StyledInput (styled.input) then some props we would need to pass to the HTML input element (like type, pattern, etc) and some would only be needed to style it in .styles.tsx file and passing these to the DOM is not necessary.
Alternatives Considered
No response
Additional Context
Pls read about it here: