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

27 lines
669 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/icon/component';
import Button from '/imports/ui/components/button/component';
import styles from './styles';
2016-05-06 05:14:39 +08:00
export default class BaseMenu extends React.Component {
constructor(props) {
super(props);
}
getContent() {
return (<div>parent content</div>);
}
render() {
return (
<div style={{ height: '100%' }} role='presentation'>
<h3 className={styles.submenuTitle}>{this.props.title}</h3>
<div className={styles.submenuContent} role='presentation'>
2016-05-06 05:14:39 +08:00
{this.getContent()}
</div>
</div>
);
}
};