index.js 461 Bytes
Newer Older
王绍森's avatar
王绍森 committed
1 2 3 4 5 6 7
/**
 * 钟是志
 * 2019年1月10日
 * 一个方块就是一个Shell用于组件外层
 */

import React, { Component } from 'react';
8
import { Row, Col } from 'antd';
王绍森's avatar
王绍森 committed
9 10 11
import styles from '../NormalTable/index.less';

export default class Index extends Component {
12 13 14 15 16 17 18 19
	render() {
		const { children, styleShell = {} } = this.props;
		return (
			<div className={styles.shell} style={styleShell}>
				<Row className={styles.row}>{children}</Row>
			</div>
		);
	}
王绍森's avatar
王绍森 committed
20
}