Skip to content

Commit

Permalink
chore: relax prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Jul 15, 2024
1 parent 2d30c0a commit 720d3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radio/RadioGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface RadioGroupProps {
/**
* Matches the `value` option of one of the Radio Children components
*/
defaultValue: string;
defaultValue?: string | null;
/**
* On change handler that is triggered by the selectedValue state change.
* `value` is the new selected value.
Expand Down

0 comments on commit 720d3d9

Please sign in to comment.