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