jm-custom-components
Version:
29 lines (28 loc) • 634 B
TypeScript
import './MyLabel.css';
export interface MyLabelProps {
/**
* Text to display
*/
label: string;
/**
* Label size
*/
size?: 'normal' | 'h1' | 'h2' | 'h3';
/**
* Caps text
*/
allCaps?: boolean;
/**
* Color
*/
color?: 'text-primary' | 'text-secondary' | 'text-tertiary';
/**
* Custom font color
*/
fontColor?: string;
/**
* Custom background color
*/
backgroundColor?: string;
}
export declare const MyLabel: ({ label, size, allCaps, color, fontColor, backgroundColor }: MyLabelProps) => import("react/jsx-runtime").JSX.Element;