Skip to content

Styled TextInput Ref TypeScript Error #29

@ctfdavis

Description

@ctfdavis

When using styled on TextInput to create a styled component, I get a TypeScript error if I pass ref to it (regardless of the actual ref value):
image

However, I am able to use the ref just fine after placing @ts-ignore above the StyledTextInput. I believe this is only an issue on the TypeScript side.

It would be nice to see this get fixed. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions