import type { ComponentMeta, ComponentStory } from '@storybook/react'; import { storageKey as motionStorageKey } from '../forms/motion-toggle/motion-toggle.fixture'; import { SettingsModal } from './settings-modal'; /** * SettingsModal - Storybook Meta */ export default { title: 'Organisms/Modals', component: SettingsModal, argTypes: { className: { control: { type: 'text', }, description: 'Set additional classnames to the modal wrapper.', table: { category: 'Styles', }, type: { name: 'string', required: false, }, }, motionStorageKey: { control: { type: 'text', }, description: 'A local storage key for reduced motion setting..', type: { name: 'string', required: true, }, }, tooltipClassName: { control: { type: 'text', }, description: 'Set additional classnames to the tooltip wrapper.', table: { category: 'Styles', }, type: { name: 'string', required: false, }, }, }, parameters: { layout: 'fullscreen', }, } as ComponentMeta; const Template: ComponentStory = (args) => ( ); /** * Modals Stories - Settings */ export const Settings = Template.bind({}); Settings.args = { motionStorageKey, };