@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
17 lines • 584 B
text/typescript
import { Axis, Placement } from "./core/axes.mjs";
import { PanelController, PanelState } from "./core/controller.mjs";
//#region src/base-ui/DraggablePanel/context.d.ts
interface DraggablePanelContextValue {
axis: Axis;
controller: PanelController;
expand: boolean;
expandable: boolean;
placement: Placement;
showBorder: boolean;
state: PanelState;
toggleExpand: () => void;
}
declare const useDraggablePanelContext: () => DraggablePanelContextValue;
//#endregion
export { DraggablePanelContextValue, useDraggablePanelContext };
//# sourceMappingURL=context.d.mts.map