@atlaskit/side-navigation
Version:
A highly composable side navigation component that supports nested views.
16 lines (15 loc) • 779 B
TypeScript
import type { LinkItemProps } from '@atlaskit/menu/types';
/**
* __Link item__
*
* Renders an item wrapped in an anchor tag, useful when you have an item that
* should change routes using native browser navigation. For SPA transitions use
* a [custom item](https://atlassian.design/components/side-navigation/examples#custom-item)
* with the respective router logic.
*
* - [Examples](https://atlassian.design/components/side-navigation/examples#link-item)
* - [Code](https://atlassian.design/components/side-navigation/code)
*
* @deprecated `@atlaskit/side-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
export declare const LinkItem: React.ForwardRefExoticComponent<React.PropsWithoutRef<LinkItemProps> & React.RefAttributes<HTMLElement>>;