Skip to content

Styled TextInput Ref TypeScript Error #29

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions