mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Plugin api, state, actions, context
This commit is contained in:
@@ -3,10 +3,9 @@ import {injectPlugins} from 'coral-framework/helpers/plugins';
|
||||
|
||||
class Slot extends Component {
|
||||
render() {
|
||||
const {pluginProps, ...props} = this.props;
|
||||
return (
|
||||
<div>
|
||||
{injectPlugins({...props, ...pluginProps})}
|
||||
{injectPlugins(this.props)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user