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
352 B
TypeScript
15 lines
352 B
TypeScript
import React from 'react';
|
|
import { Icon } from 'tailchat-design';
|
|
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';
|