first commit
This commit is contained in:
14
calcom/packages/ui/components/badge/InfoBadge.tsx
Normal file
14
calcom/packages/ui/components/badge/InfoBadge.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user