* Removed barrel import for icons to reduce bundle size. * Fixed replacement mistakes * Reverted unneccesary yarn.lock updates * Added some missed Icon. import conversions * Remove merge artifact import in @calcom/ui * Don't import Icon in pages/[user] * Update packages/ui/package.json Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Omar López <zomars@me.com>
15 lines
396 B
TypeScript
15 lines
396 B
TypeScript
import { Tooltip } from "@calcom/ui";
|
|
import { FiInfo } from "@calcom/ui/components/icon";
|
|
|
|
export default function InfoBadge({ content }: { content: string }) {
|
|
return (
|
|
<>
|
|
<Tooltip side="top" content={content}>
|
|
<span title={content}>
|
|
<FiInfo className="relative top-px left-1 right-1 mt-px h-4 w-4 text-gray-500" />
|
|
</span>
|
|
</Tooltip>
|
|
</>
|
|
);
|
|
}
|