You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/client/packages/design/components/DelayTip/index.stories.tsx

20 lines
464 B
TypeScript

import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
import { DelayTip } from '.';
export default {
title: 'Tailchat/DelayTip',
component: DelayTip,
argTypes: {},
} as ComponentMeta<typeof DelayTip>;
const Template: ComponentStory<typeof DelayTip> = (args) => (
<DelayTip {...args}>1s</DelayTip>
);
export const Default = Template.bind({});
Default.args = {
title: 'Hello World',
};