fix(RadioGroup): defaultValue type definition (#1920)

This commit is contained in:
Kristóf Poduszló
2022-10-14 15:11:52 +02:00
committed by GitHub
parent ab78fbd91e
commit f66f4926c4
@@ -119,7 +119,7 @@ let RadioGroupRoot = forwardRefWithAs(function RadioGroup<
props: Props<
TTag,
RadioGroupRenderPropArg<TType>,
RadioGroupPropsWeControl | 'value' | 'onChange' | 'disabled' | 'name' | 'by'
RadioGroupPropsWeControl | 'value' | 'defaultValue' | 'onChange' | 'disabled' | 'name' | 'by'
> & {
value?: TType
defaultValue?: TType