mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
16 lines
613 B
TypeScript
16 lines
613 B
TypeScript
|
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;
|