polaris-glints
Version:
Glints forked polaris react
25 lines (24 loc) • 1.02 kB
TypeScript
import React from 'react';
import { Action } from '../../types';
import { CheckboxProps } from '../CheckableButton';
export interface SelectAllActionsProps {
/** Visually hidden text for screen readers */
accessibilityLabel?: string;
/** Label for the bulk actions */
label?: string;
/** State of the bulk actions checkbox */
selected?: boolean | 'indeterminate';
/** List is in a selectable state */
selectMode?: boolean;
/** Text to select all across pages */
paginatedSelectAllText?: string;
/** Action for selecting all across pages */
paginatedSelectAllAction?: Action;
/** Disables bulk actions */
disabled?: boolean;
/** Callback when the select all checkbox is clicked */
onToggleAll?(): void;
checkbox?: (props: CheckboxProps) => React.ReactNode;
}
export declare const SelectAllActions: React.ForwardRefExoticComponent<SelectAllActionsProps & React.RefAttributes<unknown>>;
//# sourceMappingURL=SelectAllActions.d.ts.map