2
0
Files
cal/calcom/packages/ui/components/badge/InfoBadge.tsx
2024-08-09 00:39:27 +02:00

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>
</>
);
}