@bytebeans/macaw-ui
Version:
Saleor's UI component library
10 lines (9 loc) • 387 B
TypeScript
import React from "react";
export interface ActionBarContextType {
anchor: React.RefObject<HTMLDivElement>;
docked: boolean;
setDocked: (docked: boolean) => void;
}
export declare const ActionBarContext: React.Context<ActionBarContextType | undefined>;
export declare const useActionBar: () => ActionBarContextType;
export declare const ActionBarProvider: React.FC;