Skip to content

Commit 0306570

Browse files
authored
Merge pull request #203 from neftaly/radiogroupitem
Make RadioGroupItem in default kit value optional
2 parents b00a71b + a14eb32 commit 0306570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kits/default/src/radio-group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const RadioGroup: (props: RadioGroupProperties & RefAttributes<ContainerR
3939
},
4040
)
4141

42-
export type RadioGroupItemProperties = ContainerProperties & { disabled?: boolean; value: string }
42+
export type RadioGroupItemProperties = ContainerProperties & { disabled?: boolean; value?: string }
4343

4444
export const RadioGroupItem: (props: RadioGroupItemProperties & RefAttributes<ContainerRef>) => ReactNode = forwardRef(
4545
({ disabled = false, value, children, ...props }, ref) => {

0 commit comments

Comments
 (0)