Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type 'ComponentWithAs<"textarea", TextareaProps>' is not assignable to type 'ComponentWithAs<"input", InputProps>'. #19

Closed
ahmedrowaihi opened this issue Jan 3, 2021 · 1 comment

Comments

@ahmedrowaihi
Copy link

Code_QiWB3htvfu

@benawad
Copy link
Owner

benawad commented Jan 4, 2021

Probably not worth fighting the types here, I would cast it to any

InputOrTextarea = Textarea as any;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants