UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

22 lines (21 loc) 773 B
/// <reference types="react" /> interface RowContextType { itemId?: string; selected?: boolean; onInteraction?: (event: React.MouseEvent | React.KeyboardEvent) => void; } export declare const RowContext: import("react").Context<RowContextType>; export declare const RowHoveredContext: import("react").Context<boolean | undefined>; export interface ScrollContextType { scrollableContainer: HTMLDivElement | null; canScrollLeft: boolean; canScrollRight: boolean; } export declare const scrollDefaultContext: { scrollableContainer: null; canScrollLeft: boolean; canScrollRight: boolean; }; export declare const ScrollContext: import("react").Context<ScrollContextType>; export {}; //# sourceMappingURL=context.d.ts.map