* chore: Add ./components/[name]/index.ts map to package.json * fix: Clarify Popover exports * fix: re-add dropdown to calcom/ui barrel * chore: Add icon barrel file re-export * Fix all calcom/ui imports of its own barrel * Never say 'fix all remaining..' it's never true * Some type fixeS * Linking fixes * Rename sheet.tsx to Sheet.tsx Done through UI, console does NOT like this. * Fixed some test failures
15 lines
383 B
TypeScript
15 lines
383 B
TypeScript
import { Icon } from "../icon";
|
|
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>
|
|
</>
|
|
);
|
|
}
|