We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't reproduce it on the sandbox, there is no typescript check.
You just need to add an onClick on the Radio.Button
onClick should be in the props of Radio.Button in the typescript
I have a typescript error on the onClick.
/// <reference types="react" /> import Group from './group'; import Button from './radioButton'; import { RadioProps } from './interface'; export * from './interface'; interface CompoundedComponent extends React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLElement>> { Group: typeof Group; Button: typeof Group; } declare const Radio: CompoundedComponent; export { Button, Group }; export default Radio;
Group and Button have both "typeof Group" I think Button should be "typeof Button"
The text was updated successfully, but these errors were encountered:
Thank you for your work, you are amazing ! :)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Reproduction link
Steps to reproduce
I can't reproduce it on the sandbox, there is no typescript check.
You just need to add an onClick on the Radio.Button
What is expected?
onClick should be in the props of Radio.Button in the typescript
What is actually happening?
I have a typescript error on the onClick.
Group and Button have both "typeof Group"
I think Button should be "typeof Button"
The text was updated successfully, but these errors were encountered: