bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/modals/settings/submenus/BaseMenu.jsx

26 lines
556 B
React
Raw Normal View History

2016-05-06 05:14:39 +08:00
import React from 'react';
import Modal from 'react-modal';
import {Icon} from '/imports/ui/components/shared/Icon.jsx';
import {Button} from '/imports/ui/components/shared/Button.jsx';
export default class BaseMenu extends React.Component {
constructor(props) {
super(props);
}
getContent() {
return (<div>parent content</div>);
}
render() {
return (
<div>
<h3 className="mediumFont">{this.props.title}</h3>
2016-05-07 01:46:14 +08:00
<div className="smallFont">
2016-05-06 05:14:39 +08:00
{this.getContent()}
</div>
</div>
);
}
};