UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

25 lines (24 loc) 694 B
import * as React from 'react'; import { ITheme } from '../../Styling'; export interface ILabel { } export interface ILabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> { /** * Optional callback to access the ILabel interface. Use this instead of ref for accessing * the public methods and properties of the component. */ componentRef?: (component: ILabel) => void; /** * 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; }