gm-custom-components
Version:
29 lines (28 loc) • 669 B
TypeScript
import './MyLabel.css';
export interface Props {
/**
* Text to display
* */
label: string;
/**
* Label size
* */
size?: 'normal' | 'h1' | 'h2' | 'h3';
/**
* Capitalize all letters
* */
allCaps?: boolean;
/**
* Label color
*/
color?: 'text-primary' | 'text-secondary' | 'text-tertiary';
/**
* Color personalizado de la fuente
*/
fontColor?: string;
/**
* Color personalizado de la fuente
*/
backgroundColor?: string;
}
export declare const MyLabel: ({ label, size, allCaps, color, fontColor, backgroundColor }: Props) => import("react/jsx-runtime").JSX.Element;