mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
16 lines
336 B
JavaScript
16 lines
336 B
JavaScript
import React, {Component} from 'react';
|
|
import {importer as injectPlugins} from 'coral-framework/helpers/importer';
|
|
|
|
class Slot extends Component {
|
|
render() {
|
|
const {pluginProps: actions, ...props} = this.props;
|
|
return (
|
|
<div>
|
|
{injectPlugins({...props, actions})}
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default Slot;
|