UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

24 lines (23 loc) 885 B
/// <reference types="react" /> import * as React from 'react'; import { IColorPickerGridCellProps } from './ColorPickerGridCell.types'; export declare class ColorPickerGridCellBase extends React.Component<IColorPickerGridCellProps, {}> { static defaultProps: IColorPickerGridCellProps; private _classNames; render(): JSX.Element; /** * Render the core of a color cell * @returns {JSX.Element} - Element representing the core of the item */ private _onRenderColorOption; /** * Validate if the cell's color is white or not to apply whiteCell style * @param inputColor - The color of the current cell * @returns - Whether the cell's color is white or not. */ private _isWhiteCell(inputColor); /** * Method to override the getClassNames func in a button. */ private _getClassNames; }