intimate_view/src/ContentTable.js

19 lines
437 B
JavaScript
Raw Normal View History

2020-08-20 19:29:22 +08:00
import React from 'react';
import DataTable from './Table.js';
class ContentTable extends React.Component {
2020-08-21 19:36:05 +08:00
changePlatform = (p) => {
2020-08-20 19:29:22 +08:00
this.refs.table.updatePlatform(p);
}
render() {
// const {platform} = this.state;
return (<div style={{ padding: 24, background: '#fff', minHeight: 780 }}>
<DataTable ref="table" ></DataTable >
</div>)
}
}
export default ContentTable;