19 lines
437 B
JavaScript
19 lines
437 B
JavaScript
import React from 'react';
|
|
import DataTable from './Table.js';
|
|
|
|
class ContentTable extends React.Component {
|
|
|
|
changePlatform = (p) => {
|
|
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;
|
|
|