bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/settings/submenus/base/component.jsx
2016-09-01 13:56:41 +00:00

27 lines
672 B
JavaScript

import React from 'react';
import Modal from 'react-modal';
import Icon from '/imports/ui/components/icon/component';
import Button from '/imports/ui/components/button/component';
import styles from '../styles.scss';
export default class BaseMenu extends React.Component {
constructor(props) {
super(props);
}
getContent() {
return (<div>parent content</div>);
}
render() {
return (
<div className={styles.full} role='presentation'>
<h3 className={styles.submenuTitle}>{this.props.title}</h3>
<div className={styles.submenuContent} role='presentation'>
{this.getContent()}
</div>
</div>
);
}
};