tako-custom-components
Version:
install ```bash npm i tako-custom-components ```
27 lines (26 loc) • 517 B
TypeScript
/// <reference types="react" />
import './MyLabel.css';
export type Size = 'normal' | 'h1' | 'h2' | 'h3';
export interface MyLabelProps {
/**
* Text to display
*/
label: string;
/**
* Label size
*/
size?: Size;
/**
* Capitalize
*/
allCaps?: boolean;
/**
* Text Color
*/
color?: 'text-primary' | 'text-secondary' | 'text-tertiary';
/**
* Font Color
*/
fontColor?: string;
}
export declare const MyLabel: React.FC<MyLabelProps>;