Plugins can trigger own actions with core reducers

This commit is contained in:
Belen Curcio
2017-03-30 12:40:04 -03:00
parent 679962168c
commit 7efbdc8b59
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -3,9 +3,10 @@ import {importer as injectPlugins} from 'coral-framework/helpers/importer';
class Slot extends Component {
render() {
const {pluginProps: actions, ...props} = this.props;
return (
<div>
{injectPlugins(this.props)}
{injectPlugins({...props, actions})}
</div>
);
}