1 | import * as React from 'react';
|
2 |
|
3 | import { BsPrefixComponent } from './helpers';
|
4 |
|
5 | export interface SafeAnchorProps {
|
6 | href?: string;
|
7 | onClick?: React.MouseEventHandler<this>;
|
8 | onKeyDown?: React.KeyboardEventHandler<this>;
|
9 | disabled?: boolean;
|
10 | role?: string;
|
11 | tabIndex?: number | string;
|
12 | }
|
13 |
|
14 | declare class SafeAnchor<
|
15 | As extends React.ElementType = 'a'
|
16 | > extends BsPrefixComponent<As, SafeAnchorProps> {}
|
17 |
|
18 | export default SafeAnchor;
|