UNPKG

j2-custom-components

Version:
29 lines (28 loc) 629 B
import './MyLabel.css'; export interface Props { /** * Text to display */ label: string; /** * Label size */ size?: 'normal' | 'h1' | 'h2' | 'h3'; /** * Capitalize all letters */ AllCaps?: boolean; /** * Label color */ color?: 'text-primary' | 'text-secondary' | 'text-tertiary'; /** * Font color */ fontColor?: string; /** * Color del fondo */ backgroundColor?: string; } export declare const MyLabel: ({ label, size, AllCaps, color, fontColor, backgroundColor }: Props) => import("react/jsx-runtime").JSX.Element;