UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

16 lines (15 loc) 485 B
import * as React from 'react'; export interface ILabel { } export interface ILabelProps extends React.HTMLAttributes<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; }