Skip to content

Commit f66f492

Browse files
authored
fix(RadioGroup): defaultValue type definition (#1920)
1 parent ab78fbd commit f66f492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@headlessui-react/src/components/radio-group/radio-group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ let RadioGroupRoot = forwardRefWithAs(function RadioGroup<
119119
props: Props<
120120
TTag,
121121
RadioGroupRenderPropArg<TType>,
122-
RadioGroupPropsWeControl | 'value' | 'onChange' | 'disabled' | 'name' | 'by'
122+
RadioGroupPropsWeControl | 'value' | 'defaultValue' | 'onChange' | 'disabled' | 'name' | 'by'
123123
> & {
124124
value?: TType
125125
defaultValue?: TType

0 commit comments

Comments
 (0)