import { useArgs } from '@storybook/client-api'; import { StoryFn } from '@storybook/react'; import React from 'react'; import { BUTTON_VARIANT, Button } from '../../../components/component-library'; import AddSnapAccountModal from '.'; const AddSnapAccountModalStory = { title: 'Components/App/AddSnapAccountModal', component: AddSnapAccountModal, argTypes: {}, }; export const DefaultStory: StoryFn = () => { const [{ isShowingModal }, updateArgs] = useArgs(); return ( <> {isShowingModal && ( updateArgs({ isShowingModal: false })} /> )} ); }; DefaultStory.storyName = 'Default'; export default AddSnapAccountModalStory;