UNPKG

mfss-custom-components

Version:

Instalar

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