@atlaskit/navigation-system
Version:
The latest navigation system for Atlassian apps.
10 lines (9 loc) • 331 B
TypeScript
/**
* Monitors resizing on the panel splitter with the provided `panelId`
* and writes the resizing width to the `cssVar` on the root element (`<html>`).
*/
export declare function useResizingWidthCssVarOnRootElement({ isEnabled, cssVar, panelId, }: {
isEnabled?: boolean;
cssVar: string;
panelId: symbol;
}): void;