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

26 lines
812 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
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;