File size: 442 Bytes
181e22f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import styles from './CommonPanel.cm.styl';
class CommonPanel extends Component {
constructor(props) {
super(props);
}
render() {
const {
title,
} = this.props;
return (
<div className={styles.base}>
<div className={styles.title}>
{title}
</div>
</div>
);
}
}
export default CommonPanel;
|