Fixed some todos and added the start of the dashboard
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
import BootstrapTable from 'react-bootstrap-table-next';
|
||||
|
||||
export default class Table extends React.Component<{
|
||||
columns: any,
|
||||
data: any
|
||||
}> {
|
||||
render () {
|
||||
return (<div >
|
||||
<BootstrapTable
|
||||
bootstrap4
|
||||
keyField='id'
|
||||
columns={ this.props.columns }
|
||||
data={ this.props.data } />
|
||||
</div>)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user