2023-05-04 10:29:16 +03:00
|
|
|
/* deepscan-disable USELESS_ARROW_FUNC_BIND */
|
2023-06-07 11:55:06 +03:00
|
|
|
import { TourModal } from '@affine/component/tour-modal';
|
2023-08-17 05:44:48 +03:00
|
|
|
import type { Meta, StoryFn } from '@storybook/react';
|
2023-05-04 10:29:16 +03:00
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'AFFiNE/TourModal',
|
|
|
|
component: TourModal,
|
2023-08-17 05:44:48 +03:00
|
|
|
parameters: {
|
|
|
|
chromatic: { disableSnapshot: true },
|
|
|
|
},
|
|
|
|
} satisfies Meta;
|
2023-05-04 10:29:16 +03:00
|
|
|
|
|
|
|
export const Basic: StoryFn = () => {
|
|
|
|
return <TourModal open={true} onClose={() => {}} />;
|
|
|
|
};
|
|
|
|
Basic.args = {
|
|
|
|
logoSrc: '/imgs/affine-text-logo.png',
|
|
|
|
};
|