UNPKG

575 BTypeScriptView Raw
1import React from 'react';
2import SafeAnchor from './SafeAnchor';
3import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers';
4export interface DropdownItemProps extends BsPrefixPropsWithChildren {
5 active?: boolean;
6 disabled?: boolean;
7 eventKey?: string;
8 href?: string;
9 onClick?: React.MouseEventHandler<this>;
10 onSelect?: SelectCallback;
11}
12declare type DropdownItem = BsPrefixRefForwardingComponent<typeof SafeAnchor, DropdownItemProps>;
13declare const DropdownItem: DropdownItem;
14export default DropdownItem;