UNPKG

611 BTypeScriptView Raw
1import React from 'react';
2import { BsPrefixRefForwardingComponent } from './helpers';
3import { EventKey } from './types';
4interface AbstractNavItemProps {
5 active?: boolean;
6 as: React.ElementType;
7 className?: string;
8 disabled?: boolean;
9 eventKey?: EventKey;
10 href?: string;
11 role?: string;
12 id?: string;
13 tabIndex?: number;
14 onClick?: (e: any) => void;
15 onSelect?: (navKey: string, e: any) => void;
16}
17declare type AbstractNavItem = BsPrefixRefForwardingComponent<'div', AbstractNavItemProps>;
18declare const AbstractNavItem: AbstractNavItem;
19export default AbstractNavItem;