@atlaskit/navigation-system
Version:
Page layout and navigation components for Atlassian apps.
10 lines (9 loc) • 566 B
TypeScript
import React, { type ReactNode } from 'react';
import { type LayoutArea, type LayoutAreaState, type LayoutAreaSizingContextValue } from './layout-area-sizing-context';
export declare function LayoutAreaSizingRuntime({ children, layoutRef, onReady, onUpdate, viewportWidthAtLoad, }: {
children?: ReactNode;
layoutRef?: React.RefObject<HTMLDivElement | null>;
viewportWidthAtLoad?: number;
onReady?: (actions: LayoutAreaSizingContextValue | null) => void;
onUpdate?: (states: Partial<Record<LayoutArea, LayoutAreaState>>) => void;
}): JSX.Element;