Merge pull request #794 from trustsitka/fix-ExpandableToolMenu-props

fix: 🐛 Update for changes in ExpandableToolMenu props
This commit is contained in:
Danny Brown authored and GitHub committed 2019-08-22 11:17:05 -04:00
commit ba20093b81
2 files changed
+2 -2

No files matched your search

@@ -13,7 +13,7 @@ class PluginSwitch extends Component {
render() {
return (
<div className="PluginSwitch">
<ExpandableToolMenu buttons={this.props.buttons} text={'View'} />
<ExpandableToolMenu buttons={this.props.buttons} label={'View'} />
</div>
);
}
@@ -173,7 +173,7 @@ function _getButtonComponents(toolbarButtons, activeButtons) {
return (
<ExpandableToolMenu
key={button.id}
text={button.label}
label={button.label}
icon={button.icon}
buttons={childButtons}
activeCommand={activeCommand}