@atlaskit/navigation-system
Version:
The latest navigation system for Atlassian apps.
9 lines (8 loc) • 511 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, }: {
children?: ReactNode;
layoutRef?: React.RefObject<HTMLDivElement | null>;
onReady?: (actions: LayoutAreaSizingContextValue | null) => void;
onUpdate?: (states: Partial<Record<LayoutArea, LayoutAreaState>>) => void;
}): JSX.Element;