mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
15 lines
389 B
TypeScript
15 lines
389 B
TypeScript
import type { Meta, StoryFn } from '@storybook/react';
|
|
|
|
import type { SwitchProps } from './index';
|
|
import { Switch } from './index';
|
|
|
|
export default {
|
|
title: 'UI/Switch',
|
|
component: Switch,
|
|
} satisfies Meta<typeof Switch>;
|
|
|
|
const Template: StoryFn<SwitchProps> = args => <Switch {...args} />;
|
|
|
|
export const Default: StoryFn<SwitchProps> = Template.bind(undefined);
|
|
Default.args = {};
|