usimple-macaw-ui
Version:
Saleor's UI component library
9 lines (8 loc) • 400 B
TypeScript
/// <reference types="react" />
export declare type ListActionContextType = (hover: boolean) => void;
export declare const ListActionContext: import("react").Context<ListActionContextType | undefined>;
export declare const useListAction: () => ListActionContextType;
export interface UseTableActionHover {
hover: boolean;
props: Record<"onMouseLeave" | "onMouseEnter", () => void>;
}