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