deer / client /src /components /CommonPanel.js
linuxrun's picture
Upload 120 files
181e22f verified
Raw History Blame
442 Bytes
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;