mirror of https://github.com/msgbyte/tailchat
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.
20 lines
464 B
TypeScript
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',
|
|
};
|