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

16 lines
613 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
import React from 'react';
import SafeAnchor from './SafeAnchor';
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers';
import { EventKey } from './types';
export interface DropdownItemProps extends BsPrefixPropsWithChildren {
active?: boolean;
disabled?: boolean;
eventKey?: EventKey;
href?: string;
onClick?: React.MouseEventHandler<this>;
onSelect?: SelectCallback;
}
declare type DropdownItem = BsPrefixRefForwardingComponent<typeof SafeAnchor, DropdownItemProps>;
declare const DropdownItem: DropdownItem;
export default DropdownItem;