mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 14:59:37 +08:00
Add href property to DropdownItem (#16711)
The `DropdownItem` component was recently modified to accept an `href` prop (reactstrap/reactstrap#367). /cc @alihammad, @mfal, @danilobjr
This commit is contained in:
committed by
Mohamed Hegazy
parent
470a4e1eaa
commit
eb8b6abb9f
3
types/reactstrap/lib/DropdownItem.d.ts
vendored
3
types/reactstrap/lib/DropdownItem.d.ts
vendored
@@ -5,7 +5,8 @@ interface Props {
|
||||
header?: boolean;
|
||||
onClick?: (event: React.MouseEvent<any>) => void;
|
||||
className?: string;
|
||||
href?: string;
|
||||
}
|
||||
|
||||
declare var DropdownItem: React.StatelessComponent<Props>;
|
||||
export default DropdownItem;
|
||||
export default DropdownItem;
|
||||
|
||||
Reference in New Issue
Block a user