ls-custom-components
Version:
25 lines (24 loc) • 583 B
TypeScript
import './MyLabel.css';
export interface Props {
/**
* Label to display
*/
label: string;
/**
* Size of the label
*/
size?: 'normal' | 'h1' | 'h2' | 'h3';
/**
* Whether to display the label in all caps
*/
allCaps?: boolean;
/**
* Color of the label
*/
color?: 'text-primary' | 'text-secondary' | 'text-tertiary';
/**
* Font color of the label
*/
fontColor?: string;
}
export declare const MyLabel: ({ label, size, allCaps, color, fontColor }: Props) => import("react/jsx-runtime").JSX.Element;