GoScrobble/web/node_modules/react-bootstrap/cjs/AbstractNavItem.d.ts

20 lines
611 B
TypeScript

import React from 'react';
import { BsPrefixRefForwardingComponent } from './helpers';
import { EventKey } from './types';
interface AbstractNavItemProps {
active?: boolean;
as: React.ElementType;
className?: string;
disabled?: boolean;
eventKey?: EventKey;
href?: string;
role?: string;
id?: string;
tabIndex?: number;
onClick?: (e: any) => void;
onSelect?: (navKey: string, e: any) => void;
}
declare type AbstractNavItem = BsPrefixRefForwardingComponent<'div', AbstractNavItemProps>;
declare const AbstractNavItem: AbstractNavItem;
export default AbstractNavItem;