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.
15 lines
308 B
TypeScript
15 lines
308 B
TypeScript
import { Tooltip, TooltipProps } from 'antd';
|
|
import React from 'react';
|
|
|
|
/**
|
|
* 延时提示
|
|
*/
|
|
export const DelayTip: React.FC<TooltipProps> = React.memo((props) => {
|
|
return (
|
|
<Tooltip mouseEnterDelay={1} {...props}>
|
|
{props.children}
|
|
</Tooltip>
|
|
);
|
|
});
|
|
DelayTip.displayName = 'DelayTip';
|