diff --git a/examples/react-ts/src/AccountForm.stories.tsx b/examples/react-ts/src/AccountForm.stories.tsx index 1ba866a24769..4cbc7d48faab 100644 --- a/examples/react-ts/src/AccountForm.stories.tsx +++ b/examples/react-ts/src/AccountForm.stories.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { ComponentMeta } from '@storybook/react'; +import { ComponentStory, ComponentMeta } from '@storybook/react'; import { screen } from '@testing-library/dom'; import userEvent from '@testing-library/user-event'; import { AccountForm, AccountFormProps } from './AccountForm'; @@ -14,7 +14,7 @@ export default { // export const Standard = (args: AccountFormProps) => ; // Standard.args = { passwordVerification: false }; -export const Standard = { +export const Standard: ComponentStory = { // render: (args: AccountFormProps) => , args: { passwordVerification: false }, }; @@ -51,7 +51,7 @@ export const StandardFailHover = { }, }; -export const Verification = { +export const Verification: ComponentStory = { args: { passwordVerification: true }, };