@react-pakistan/react-ui-collection
Version:
React UI Collection built upon React Storybook
65 lines (64 loc) • 1.45 kB
TypeScript
export interface ILabelProps {
/**
* Top property for Label component
* @default 1.5em
*/
top?: string;
/**
* Left property for Label component
* @default 1.5em
*/
left?: string;
/**
* Padding property for Label component
* @default 0.5em 0.75em
*/
padding?: string;
/**
* Background Color property for Label component
* @default #2E2E2E
*/
backgroundColor?: string;
}
export interface ILabelTextProps {
/**
* Font Family property for Label Text component
* @default Montserrat
*/
fontFamily: string;
/**
* Font Size property for Label Text component
* @default ThemeText
*/
fontSize?: string;
/**
* Font Weight property for Label Text component
* @default ThemeText
*/
fontWeight?: number;
/**
* Line Height proprty for Label Text component
* @default ThemeText
*/
lineHeight?: string;
/**
* Letter Spacing property for Label Text component
* @default ThemeText
*/
letterSpacing?: string;
/**
* Text Align property for Label Text component
* @default ThemeText
*/
textAlign?: string;
/**
* Text Transform property for Label Text component
* @default ThemeText
*/
textTransform?: string;
/**
* Color property for Label Text component
* @default ThemeText
*/
color?: string;
}