From 81b4e08393cd910568a6b971bc18c62746433a5f Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Mon, 28 Feb 2022 11:38:19 +0000 Subject: [PATCH] Set default props in style guide story (#6865) GitOrigin-RevId: b5292e644804ba12a72f0513844c64495031c9e5 --- .../frontend/stories/style-guide.stories.js | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/services/web/frontend/stories/style-guide.stories.js b/services/web/frontend/stories/style-guide.stories.js index 9422c6e323..c03ce8a832 100644 --- a/services/web/frontend/stories/style-guide.stories.js +++ b/services/web/frontend/stories/style-guide.stories.js @@ -490,14 +490,14 @@ export const Forms = () => {
@@ -516,8 +516,8 @@ export const Forms = () => { id="optionsRadios1" type="radio" name="optionsRadios" - value="option1" - checked + defaultValue="option1" + defaultChecked="checked" /> Option one is this and that—be sure to include why it's great @@ -529,7 +529,7 @@ export const Forms = () => { id="optionsRadios2" type="radio" name="optionsRadios" - value="option2" + defaultValue="option2" /> Option two can be something else and selecting it will deselect option one @@ -541,7 +541,7 @@ export const Forms = () => { id="optionsRadios3" type="radio" name="optionsRadios" - value="option3" + defaultValue="option3" disabled="" /> Option three is disabled @@ -582,7 +582,7 @@ export const Forms = () => { id="inlineRadio1" type="radio" name="inlineRadioOptions" - value="option1" + defaultValue="option1" /> 1 @@ -591,7 +591,7 @@ export const Forms = () => { id="inlineRadio2" type="radio" name="inlineRadioOptions" - value="option2" + defaultValue="option2" /> 2 @@ -600,7 +600,7 @@ export const Forms = () => { id="inlineRadio3" type="radio" name="inlineRadioOptions" - value="option3" + defaultValue="option3" /> 3 @@ -678,7 +678,7 @@ export const Forms = () => { className="form-control" id="focusedInput" type="text" - value="Demonstrative focus state" + defaultValue="Demonstrative focus state" />
@@ -784,7 +784,7 @@ export const Forms = () => { Checkbox with success @@ -796,7 +796,7 @@ export const Forms = () => { Checkbox with warning @@ -808,7 +808,7 @@ export const Forms = () => { Checkbox with error