UNPKG

jc-custom-components

Version:

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

25 lines (24 loc) 574 B
import './MyLabel.css'; export interface Props { /** * Label to Display */ label: string; /** * Size of the label */ size?: 'nomal' | 'h1' | 'h2' | 'h3'; /** * All characters to display in uppercase */ allCaps?: boolean; /** * Color of the text */ color?: 'text-primary' | 'text-secondary' | 'text-tertiary'; /** * Color of the text */ fontColor?: string; } export declare const MyLabel: ({ label, size, allCaps, color, fontColor }: Props) => import("react/jsx-runtime").JSX.Element;