mirror of https://github.com/msgbyte/tailchat
feat: FullModalField 增加tip能力
parent
12cf930857
commit
9220fd15ff
@ -0,0 +1,14 @@
|
||||
import { Icon } from './Icon';
|
||||
import React from 'react';
|
||||
import { DelayTip } from './DelayTip';
|
||||
|
||||
export const TipIcon: React.FC<{
|
||||
content: React.ReactNode;
|
||||
}> = React.memo(({ content }) => {
|
||||
return (
|
||||
<DelayTip overlay={content}>
|
||||
<Icon icon="mdi:alert-circle-outline" />
|
||||
</DelayTip>
|
||||
);
|
||||
});
|
||||
TipIcon.displayName = 'TipIcon';
|
Loading…
Reference in New Issue