import React from 'react'; import { BaseBoxProps } from '../internals/Box'; import type { HTMLPropsWithoutSelect } from '../internals/types'; import type { IconProps } from '@rsuite/icons/Icon'; export interface NavItemProps extends BaseBoxProps, HTMLPropsWithoutSelect { /** Activation status */ active?: boolean; /** Disabled status */ disabled?: boolean; /** divier for nav item */ divider?: boolean; /** display panel */ panel?: boolean; /** Sets the icon for the component */ icon?: React.ReactElement; /** The value of the current option */ eventKey?: T; /** Providing a `href` will render an `` element */ href?: string; /** Select the callback function that the event triggers. */ onSelect?: (eventKey: T | undefined, event: React.SyntheticEvent) => void; } /** * The `Nav.Item` component is used to create navigation links. * * - When used as direct child of `