UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

16 lines 606 B
/// <reference types="react" /> import type { ResourceListSelectedItems } from './types'; export interface ResourceListContextType { selectMode?: boolean; selectable?: boolean; selectedItems?: ResourceListSelectedItems; resourceName?: { singular: string; plural: string; }; loading?: boolean; hasBulkActions?: boolean; onSelectionChange?(selected: boolean, id: string, sortNumber: number | undefined, shiftKey: boolean): void; } export declare const ResourceListContext: import("react").Context<ResourceListContextType>; //# sourceMappingURL=context.d.ts.map