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

fix: 🐛 Update for changes in ExpandableToolMenu props
This commit is contained in:
Danny Brown 2019-08-22 11:17:05 -04:00 committed by GitHub
commit ba20093b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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>
); );
} }

View File

@ -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}