UNPKG

pc-custom-components

Version:
29 lines (28 loc) 709 B
import "./MyLabel.css"; export interface Props { /** * Text to display */ label: string; /** * Label size */ size?: "normal" | "h1" | "h2" | "h3"; /** * Muestra el texto capitalizado */ allCaps?: boolean; /** * Muestra el texto con los colores personalizados */ color?: "text-primary" | "text-secondary" | "text-tertiary"; /** * Muestra el texto por elección por paleta */ fontColor?: string; /** * Muestra el color de fondo */ backgroundColor?: string; } export declare const MyLabel: ({ label, size, allCaps, color, fontColor, backgroundColor, }: Props) => import("react/jsx-runtime").JSX.Element;