Skip to content

Commit

Permalink
docs(SelectCountry): replace bar as value in examples (#2990)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored Dec 7, 2023
1 parent a62f6b8 commit 8fd9f0e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const OptionSelected = () => {
return (
<ComponentBox>
<Field.SelectCountry
value="bar"
value="NO"
onChange={(value) => console.log('onChange', value)}
/>
</ComponentBox>
Expand All @@ -49,7 +49,7 @@ export const LabelAndOptionSelected = () => {
return (
<ComponentBox>
<Field.SelectCountry
value="bar"
value="NO"
label="Label text"
onChange={(value) => console.log('onChange', value)}
/>
Expand All @@ -61,7 +61,7 @@ export const WithHelp = () => {
return (
<ComponentBox>
<Field.SelectCountry
value="bar"
value="NO"
label="Label text"
help={{
title: 'Help is available',
Expand All @@ -78,7 +78,7 @@ export const Disabled = () => {
return (
<ComponentBox>
<Field.SelectCountry
value="bar"
value="NO"
label="Label text"
onChange={(value) => console.log('onChange', value)}
disabled
Expand All @@ -91,7 +91,7 @@ export const Error = () => {
return (
<ComponentBox scope={{ FormError }}>
<Field.SelectCountry
value="bar"
value="NO"
label="Label text"
onChange={(value) => console.log('onChange', value)}
error={new FormError('This is what is wrong...')}
Expand Down

0 comments on commit 8fd9f0e

Please sign in to comment.