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>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|