27 lines
672 B
JavaScript
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>
|
|
);
|
|
}
|
|
};
|