fix: autocomplete story and add examples
This commit is contained in:
parent
f4af9dab4a
commit
569fe2c43f
|
@ -17,5 +17,23 @@ type Story = StoryObj<typeof meta>
|
|||
export const Default: Story = {
|
||||
args: {
|
||||
index: 0,
|
||||
isValid: true,
|
||||
changeIsValid: () => {},
|
||||
},
|
||||
}
|
||||
|
||||
export const NotValid: Story = {
|
||||
args: {
|
||||
index: 0,
|
||||
isValid: false,
|
||||
changeIsValid: () => {},
|
||||
},
|
||||
}
|
||||
|
||||
export const OtherWord: Story = {
|
||||
args: {
|
||||
index: 2,
|
||||
isValid: false,
|
||||
changeIsValid: () => {},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue