fix: autocomplete story and add examples

This commit is contained in:
RadoslavDimchev 2023-09-07 15:35:58 +03:00
parent f4af9dab4a
commit 569fe2c43f
1 changed files with 18 additions and 0 deletions

View File

@ -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: () => {},
},
}