UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

27 lines (26 loc) 735 B
import * as React from 'react'; import { BaseComponent } from '../../Utilities'; export interface ICheckProps extends React.Props<Check> { /** * Gets the component ref. */ componentRef?: () => void; /** * Whether or not this menu item is currently checked. * @defaultvalue false */ checked?: boolean; /** * Deprecated at v0.65.1 and will be removed by v 1.0. Use 'checked' instead. * @deprecated */ isChecked?: boolean; alwaysShowCheck?: boolean; } export declare class Check extends BaseComponent<ICheckProps, {}> { static defaultProps: { isChecked: boolean; }; shouldComponentUpdate(newProps: ICheckProps): boolean; render(): JSX.Element; }