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

Id needs to be string | number. Needs a value prop as well #9

Closed
jacksonHendric opened this issue Aug 26, 2022 · 2 comments
Closed

Comments

@jacksonHendric
Copy link

Hi,

This issue was mentioned before but I don't understand why Id couldn't be string | number.
If this is not possible there needs to be a value prop, so that we have id, text, value like any normal radio button component.

I know I can just pass a value prop but the types keep throwing errors and I need to cast it to any for it to stop complaining.

Thank you for the great work but I think this is an important fix.

@WrathChaos
Copy link
Owner

WrathChaos commented Aug 26, 2022

@jacksonHendric
Copy link
Author

Great thanks! Does this also include a value prop for the types?

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