AFFiNE/apps/storybook/src/stories/onboarding-modal.stories.tsx

16 lines
384 B
TypeScript
Raw Normal View History

/* deepscan-disable USELESS_ARROW_FUNC_BIND */
2023-06-07 11:55:06 +03:00
import { TourModal } from '@affine/component/tour-modal';
import type { StoryFn } from '@storybook/react';
export default {
title: 'AFFiNE/TourModal',
component: TourModal,
};
export const Basic: StoryFn = () => {
return <TourModal open={true} onClose={() => {}} />;
};
Basic.args = {
logoSrc: '/imgs/affine-text-logo.png',
};