twreporter-react
Version:
React-Redux site for The Reporter Foundation in Taiwan
25 lines (20 loc) • 406 B
JavaScript
import { node } from './DomUtils.js';
import Card from './Card.js';
class WelcomePanel extends Card {
constructor(props){
super(props);
}
render() {
return (
<div className="welcome-panel">
<Card content={node.toString()} />
</div>
);
}
initPanel(el,content) {
this.initEl = el;
this.initContent = content;
}
};
//export default WelcomePanel;
export default { WelcomePanel };