[material-ui] Added missing Props to DropDownMenu and ListItem (#16896)

* DropDownMenu: add missing prop onChange; ListItem: add missing prop hoverColor

* fix error
This commit is contained in:
schlesingermatthias
2017-06-01 11:44:17 -07:00
committed by Mohamed Hegazy
parent c2dbda28dc
commit 2dbb26ab23
+3 -1
View File
@@ -1,6 +1,6 @@
// Type definitions for material-ui v0.17.51
// Project: https://github.com/callemall/material-ui
// Definitions by: Nathan Brown <https://github.com/ngbrown>, Igor Belagorudsky <https://github.com/theigor>, Ali Taheri Moghaddar <https://github.com/alitaheri>, Oliver Herrmann <https://github.com/herrmanno>, Daniel Roth <https://github.com/DaIgeb>, Aurelién Allienne <https://github.com/allienna>
// Definitions by: Nathan Brown <https://github.com/ngbrown>, Igor Beagorudsky <https://github.com/theigor>, Ali Taheri Moghaddar <https://github.com/alitaheri>, Oliver Herrmann <https://github.com/herrmanno>, Daniel Roth <https://github.com/DaIgeb>, Aurelién Allienne <https://github.com/allienna>, Matthias Schlesinger <https://github.com/schlesingermatthias>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
@@ -1088,6 +1088,7 @@ declare namespace __MaterialUI {
autoGenerateNestedIndicator?: boolean;
disableKeyboardFocus?: boolean;
disabled?: boolean;
hoverColor?: string;
initiallyOpen?: boolean;
innerDivStyle?: React.CSSProperties;
insetChildren?: boolean;
@@ -1223,6 +1224,7 @@ declare namespace __MaterialUI {
maxHeight?: number;
menuStyle?: React.CSSProperties;
onChange?: (e: TouchTapEvent, index: number, menuItemValue: any) => void;
onClose?: (e: TouchTapEvent) => void;
openImmediately?: boolean;
style?: React.CSSProperties;
underlineStyle?: React.CSSProperties;