UNPKG

605 BTypeScriptView Raw
1import * as React from 'react';
2import { CSSModule } from './utils';
3import { ColumnProps } from './Col';
4
5export interface LabelProps
6 extends React.LabelHTMLAttributes<HTMLLabelElement> {
7 [key: string]: any;
8 hidden?: boolean;
9 check?: boolean;
10 size?: string;
11 disabled?: boolean;
12 for?: string;
13 tag?: React.ElementType;
14 cssModule?: CSSModule;
15 xs?: ColumnProps;
16 sm?: ColumnProps;
17 md?: ColumnProps;
18 lg?: ColumnProps;
19 xl?: ColumnProps;
20 xxl?: ColumnProps;
21
22 // custom widths
23 widths?: string[];
24}
25
26declare class Label extends React.Component<LabelProps> {}
27export default Label;