From 611c06b387b6a3bf52b1992e0ddff4f676cc54c6 Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Mon, 15 Jul 2024 14:41:11 -0600 Subject: [PATCH] chore: relax prop types (#225) * chore: relax prop types * v1.5.1 --- package.json | 2 +- src/radio/RadioGroup.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 77d8cc97..b37302d7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.5.0", + "version": "1.5.1", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/src/radio/RadioGroup.tsx b/src/radio/RadioGroup.tsx index 515e5ebe..74fa4a69 100644 --- a/src/radio/RadioGroup.tsx +++ b/src/radio/RadioGroup.tsx @@ -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.