UNPKG

@atlaskit/side-navigation

Version:

A highly composable side navigation component that supports nested views.

17 lines (16 loc) • 777 B
import type { CustomItemProps, CustomItemComponentProps as MenuCustomItemComponentProps } from '@atlaskit/menu/types'; export interface CustomItemComponentProps extends MenuCustomItemComponentProps { } interface CustomItemPropsHack { <TComponentProps extends {}>(props: CustomItemProps<TComponentProps> & { ref?: any; } & Omit<TComponentProps, keyof CustomItemComponentProps>): JSX.Element | null; } /** * Used to support any custom items needed by products alongside the Header and Footer patterns. * Specific implementation of headers and footers are provided in the examples folder. * * @deprecated `@atlaskit/side-navigation` is deprecated. Use `@atlaskit/navigation-system` instead. */ export declare const CustomItem: CustomItemPropsHack; export {};