UNPKG

fb-custom-components

Version:
35 lines (34 loc) 795 B
import "./MyLabel.css"; export interface Props { /** * Text to display */ label: string; /** * Size of the label */ size?: "normal" | "h1" | "h2" | "h3"; /** * Capitalize all letters */ allCaps?: boolean; /** * Color of the label */ color?: "text-primary" | "text-secondary" | "text-tertiary"; /** * Font color */ fontColor?: string; /** * Background color */ backgroundColor?: string; } /** * !Todas son opcionales * allCaps: Boolean, * color: "text-primary" | "text-secondary" | "text-tertiary", * fontColor?: string, texto del span */ export declare const MyLabel: ({ label, size, allCaps, color, fontColor, backgroundColor, }: Props) => import("react/jsx-runtime").JSX.Element;