chore: perfect type definition (#940)
This commit is contained in:
@@ -26,7 +26,7 @@ export default function Radio({
|
||||
}: IRadioProps): JSX.Element {
|
||||
const groupContext = useContext(RadioGroupContext)
|
||||
const labelId = useId()
|
||||
const handleChange = (e: any) => {
|
||||
const handleChange = (e: IRadioProps['value']) => {
|
||||
if (disabled)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user