UNPKG

@trellixio/roaster-coffee

Version:
17 lines 612 B
/// <reference types="react" /> interface RowContextType { /** The unique identifier of the row item. */ itemId?: string; /** Indicates whether the row is selected. */ selected?: boolean; /** Indicates whether the row is disabled. */ disabled?: boolean; /** * A callback function that is called when the row is interacted with. * The function receives the `event` object as an argument. */ onInteraction?: (event: React.MouseEvent) => void; } export declare const RowContext: import("react").Context<RowContextType>; export {}; //# sourceMappingURL=context.d.ts.map