mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
19 lines
346 B
JavaScript
19 lines
346 B
JavaScript
import React, {Component} from 'react';
|
|
import injectedPlugins from 'coral-framework/helpers/importer';
|
|
|
|
class Slot extends Component {
|
|
componentDidMount() {
|
|
console.log('Slot Mounted');
|
|
}
|
|
render() {
|
|
const {fill} = this.props;
|
|
return (
|
|
<div>
|
|
{injectedPlugins(fill)}
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default Slot;
|