UNPKG

fedrick-fp-custom-components

Version:
29 lines (28 loc) 605 B
import './MyLabel.css'; export interface Props { /** * Text to display */ label: string; /** * Label size */ size?: 'normal' | 'h1' | 'h2' | 'h3'; /** * allCaps */ allCaps?: boolean; /** * 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;