AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
import { TextVariant } from "@/components/atoms/Text/Text";
export type ShowMoreTextVariant = Exclude<
TextVariant,
"h1" | "h2" | "h3" | "h4"
>;
export function getIconSize(variant: ShowMoreTextVariant): number {
switch (variant) {
case "lead":
return 20;
case "large":
case "large-medium":
case "large-semibold":
return 16;
case "body":
case "body-medium":
return 14;
case "small":
case "small-medium":
return 12;
default:
return 14;
}
}