mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
26 lines
812 B
TypeScript
26 lines
812 B
TypeScript
|
import React from 'react';
|
||
|
import NavItem from './NavItem';
|
||
|
import NavLink from './NavLink';
|
||
|
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers';
|
||
|
import { EventKey } from './types';
|
||
|
export interface NavProps extends BsPrefixPropsWithChildren {
|
||
|
navbarBsPrefix?: string;
|
||
|
cardHeaderBsPrefix?: string;
|
||
|
variant?: 'tabs' | 'pills';
|
||
|
activeKey?: EventKey;
|
||
|
defaultActiveKey?: EventKey;
|
||
|
fill?: boolean;
|
||
|
justify?: boolean;
|
||
|
onSelect?: SelectCallback;
|
||
|
role?: string;
|
||
|
navbar?: boolean;
|
||
|
navbarScroll?: boolean;
|
||
|
onKeyDown?: React.KeyboardEventHandler<this>;
|
||
|
}
|
||
|
declare type Nav = BsPrefixRefForwardingComponent<'div', NavProps> & {
|
||
|
Item: typeof NavItem;
|
||
|
Link: typeof NavLink;
|
||
|
};
|
||
|
declare const Nav: Nav;
|
||
|
export default Nav;
|