Allow pass inverse to IconMenu (#1490)
parent
4a13ff2541
commit
4722904d25
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue