@up-group-ui/react-controls
Version:
Up shared react controls
15 lines (14 loc) • 394 B
TypeScript
export declare type WidthSize = 'auto' | 'small' | 'medium' | 'large' | 'xlarge';
export declare type Align = 'left' | 'right';
export interface CommonProps {
disabled?: boolean;
className?: string;
inline?: boolean;
required?: boolean;
width?: WidthSize;
textAlign?: Align;
color?: string;
}
export interface UpLabelProps extends CommonProps {
text?: string;
}