mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
20 lines
611 B
TypeScript
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;
|