update 首页

This commit is contained in:
2021-06-17 15:12:33 +08:00
parent 70112b5c51
commit 47f83048b0
8 changed files with 406 additions and 2 deletions

View File

@@ -17,7 +17,10 @@ export default class Container extends Component {
}
render() {
const className = this.getMode(this.props.mode)
let className = this.getMode(this.props.mode)
if (this.props.className) {
className += ` ${this.props.className}`
}
return (
<section className={className}>{this.props.children}</section>