1 | import * as React from 'react';
|
2 |
|
3 | import SafeAnchor, { SafeAnchorProps } from './SafeAnchor';
|
4 |
|
5 | import {
|
6 | BsPrefixComponent,
|
7 | SelectCallback,
|
8 | BsPrefixComponentClass,
|
9 | } from './helpers';
|
10 |
|
11 | export interface NavLinkProps {
|
12 | active?: boolean;
|
13 | disabled?: boolean;
|
14 | role?: string;
|
15 | href?: string;
|
16 | onSelect?: SelectCallback;
|
17 | eventKey?: unknown;
|
18 | }
|
19 |
|
20 | declare class NavLink<
|
21 |
|
22 | As extends React.ElementType = BsPrefixComponentClass<'a', SafeAnchorProps>
|
23 | > extends BsPrefixComponent<As, NavLinkProps> {}
|
24 |
|
25 | export default NavLink;
|