Skip to content

Commit

Permalink
chore: relax prop types (#225)
Browse files Browse the repository at this point in the history
* chore: relax prop types

* v1.5.1
  • Loading branch information
mikeldking authored Jul 15, 2024
1 parent 2d30c0a commit 611c06b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.5.0",
"version": "1.5.1",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
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 611c06b

Please sign in to comment.