Skip to content

Turn all non-DOM props (for all styled-components) into transient props #221

Description

@MihirSachdeva

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions