import * as React from 'react'; import { IStyle, ITheme } from '../../Styling'; import { IStyleFunctionOrObject, IRenderFunction } from '../../Utilities'; /** * {@docCategory DetailsList} */ export interface IDetailsRowCheckProps extends React.HTMLAttributes { /** * Theme provided by High-Order Component. */ theme?: ITheme; /** * Style override */ styles?: IStyleFunctionOrObject; /** * Is the check part of the header in a DetailsList */ isHeader?: boolean; /** * Whether or not this check is selected */ selected?: boolean; /** * Is any selected - also true for isSelectionModal */ anySelected?: boolean; /** * Can this checkbox be selectable */ canSelect: boolean; /** * Is this in compact mode? */ compact?: boolean; /** * Optional className to attach to the slider root element. */ className?: string; /** * The classname to be passed down to Check component */ checkClassName?: string; /** * Whether or not this checkbox is visible */ isVisible?: boolean; /** * If provided, can be used to render a custom checkbox */ onRenderDetailsCheckbox?: IRenderFunction; /** * Whether to use fast icon and check components. The icons can't be targeted by customization * but are still customizable via class names. * @defaultvalue true */ useFastIcons?: boolean; } /** * {@docCategory DetailsList} */ export declare type IDetailsRowCheckStyleProps = Required> & Pick & { /** Is checkbox visible */ isVisible?: boolean; }; /** * {@docCategory DetailsList} */ export interface IDetailsRowCheckStyles { root: IStyle; /** @deprecated Use `root` (they're applied to the same element) */ check: IStyle; isDisabled: IStyle; } export interface IDetailsCheckboxProps { checked: boolean; theme?: ITheme; }