@atlaskit/navigation-system
Version:
The latest navigation system for Atlassian apps.
14 lines (13 loc) • 627 B
TypeScript
import React from 'react';
/**
* This is not ideal and shouldn't be used by anything outside of `<Banner>` and `<TopNav>`.
*
* This makes the other page layout elements aware that the banner and top bar have been mounted, provides them
* with their heights. This is needed to power the stick points of page layout elements like SideNav and Panel.
*
* We should clean this up once we have a better solution, such as moving the size props for banner and top bar into `Root`.
*/
export declare const HoistCssVarToLocalGrid: ({ variableName, value, }: {
variableName: string;
value: number;
}) => React.JSX.Element;