UNPKG

mb-custom-components

Version:
30 lines (29 loc) 646 B
import "./MyLabel.css"; export interface Props { /** * Text to Display */ label: string; /** * Label Size */ size?: 'normal' | 'h1' | 'h2' | 'h3'; /** * Text in CAPS */ allCaps?: boolean; /** * Color Text */ color?: 'text-primary' | 'text-secondary' | 'text-tertiary'; /** * Font Color Picker */ fontColor?: string; /** * Font Color Picker */ backgroundColor?: string; } export declare const MyLabel: ({ label, size, allCaps, color, fontColor, backgroundColor }: Props) => import("react/jsx-runtime").JSX.Element; export default MyLabel;