From 144ea7b06d26a033a8ddd08ba42816c160d537dd Mon Sep 17 00:00:00 2001 From: Mitchell Austin Date: Sun, 27 Dec 2020 18:06:21 -0800 Subject: [PATCH] udpate story to use integer values --- packages/components/src/radio-group/stories/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/radio-group/stories/index.js b/packages/components/src/radio-group/stories/index.js index 88dd726005ad6..57804933797f0 100644 --- a/packages/components/src/radio-group/stories/index.js +++ b/packages/components/src/radio-group/stories/index.js @@ -47,7 +47,7 @@ export const disabled = () => { }; const ControlledRadioGroupWithState = () => { - const [ checked, setChecked ] = useState( 'option2' ); + const [ checked, setChecked ] = useState( 1 ); /* eslint-disable no-restricted-syntax */ return ( @@ -58,9 +58,9 @@ const ControlledRadioGroupWithState = () => { checked={ checked } onChange={ setChecked } > - Option 1 - Option 2 - Option 3 + Option 1 + Option 2 + Option 3 ); /* eslint-enable no-restricted-syntax */