Allow pass inverse to IconMenu (#1490)

old
kobanyan 2017-07-14 03:19:16 +09:00 committed by Javi Velasco
parent 4a13ff2541
commit 4722904d25
2 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,11 @@ export interface IconMenuProps extends ReactToolbox.Props {
* @default true
*/
iconRipple?: boolean;
/**
* If true, the neutral colors are inverted. Useful if the icon is over a dark background.
* @default false
*/
inverse?: boolean;
/**
* Transferred to the Menu component.
* @default true

View File

@ -16,6 +16,7 @@ const factory = (IconButton, Menu) => {
PropTypes.element,
]),
iconRipple: PropTypes.bool,
inverse: PropTypes.bool,
menuRipple: PropTypes.bool,
onClick: PropTypes.func,
onHide: PropTypes.func,