///
import * as React from 'react';
import { ITheme, IStyle } from '../../Styling';
import { IRefObject, IComponentAs, IStyleFunctionOrObject } from '../../Utilities';
export interface ILabel {
}
export interface ILabelProps extends React.LabelHTMLAttributes {
/**
* Render the root element as another type.
*/
as?: IComponentAs>;
/**
* Optional callback to access the ILabel interface. Use this instead of ref for accessing
* the public methods and properties of the component.
*/
componentRef?: IRefObject;
/**
* Whether the associated form field is required or not
* @defaultvalue false
*/
required?: boolean;
/**
* Renders the label as disabled.
*/
disabled?: boolean;
/**
* Theme provided by HOC.
*/
theme?: ITheme;
/**
* Styles for the label.
*/
styles?: IStyleFunctionOrObject;
}
export interface ILabelStyles {
/**
* Styles for the root element.
*/
root: IStyle;
}
export interface ILabelStyleProps {
/**
*
*/
theme: ITheme;
className?: string;
disabled?: boolean;
required?: boolean;
}