UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

21 lines (20 loc) 734 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 {};