@gulibs/vgrove-ui
Version:
VGrove UI component library built with HeroUI and React
17 lines • 703 B
TypeScript
import type { LayoutSettings, LayoutFeatures } from "../types";
export interface VGroveContextType {
settings: LayoutSettings;
updateSettings: (newSettings: Partial<LayoutSettings>) => void;
resetSettings: () => void;
features: LayoutFeatures;
/** 布局是否正在加载中 */
isLayoutLoading: boolean;
/** 布局是否已完成加载 */
isLayoutReady: boolean;
/** 设置布局完成状态 */
setLayoutReady: (ready: boolean) => void;
/** 重置布局状态(用于路由切换) */
resetLayoutState: () => void;
}
export declare const VGroveContext: import("react").Context<VGroveContextType | undefined>;
//# sourceMappingURL=VGroveContext.d.ts.map