@atlaskit/navigation-system
Version:
The latest navigation system for Atlassian apps.
30 lines (29 loc) • 991 B
TypeScript
import type { StrictXCSSProp } from '@atlaskit/css';
import type { CommonSlotProps } from './types';
/**
* The Aside is rendered to the right (inline end) of the Main area.
*
* You can optionally render a `PanelSplitter` as a child to make the aside area resizable.
*
* @deprecated Use `Panel` instead.
*/
export declare function Aside({ children, xcss, defaultWidth: defaultWidthProp, label, skipLinkLabel, testId, id: providedId, }: CommonSlotProps & {
/**
* The content of the layout area.
*/
children: React.ReactNode;
/**
* The accessible name of the slot, announced by screen readers.
*/
label?: string;
/**
* Bounded style overrides.
*/
xcss?: StrictXCSSProp<'backgroundColor', never>;
/**
* The default width of the layout area.
*
* It should be an integer between the resize bounds - the minimum is 120px and the maximum is 50% of the viewport width.
*/
defaultWidth?: number;
}): JSX.Element;