15 lines
381 B
TypeScript
15 lines
381 B
TypeScript
import { Icon } from "../..";
|
|
import { Tooltip } from "../tooltip/Tooltip";
|
|
|
|
export function InfoBadge({ content }: { content: string }) {
|
|
return (
|
|
<>
|
|
<Tooltip side="top" content={content}>
|
|
<span title={content}>
|
|
<Icon name="info" className="text-subtle relative left-1 right-1 top-px mt-px h-4 w-4" />
|
|
</span>
|
|
</Tooltip>
|
|
</>
|
|
);
|
|
}
|