@atlaskit/side-navigation
Version:
A highly composable side navigation component that supports nested views.
33 lines (32 loc) • 1.18 kB
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import React, { type HTMLAttributes } from 'react';
/**
* @deprecated `@atlaskit/side-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
export interface NavigationContentProps {
children: React.ReactNode;
/**
* Forces the top scroll indicator to be shown.
*/
showTopScrollIndicator?: boolean;
/**
* A `testId` prop is provided for specified elements,
* which is a unique string that appears as a data attribute `data-testid` in the rendered code,
* serving as a hook for automated tests.
*/
testId?: string;
}
/**
* __Navigation content__
*
* A navigation content is used as the container for navigation items.
*
* - [Examples](https://atlassian.design/components/side-navigation/examples#content)
* - [Code](https://atlassian.design/components/side-navigation/code)
*
* @deprecated `@atlaskit/side-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
export declare const NavigationContent: React.ForwardRefExoticComponent<React.PropsWithoutRef<NavigationContentProps & HTMLAttributes<HTMLElement>> & React.RefAttributes<HTMLElement>>;