You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
894 B
66 lines
894 B
import React, { Component } from 'react' |
|
import DataTable from '../../components/DataTable' |
|
|
|
|
|
/*const columns = [{ |
|
dataField: 'id', |
|
text: 'Product ID', |
|
sort: true |
|
}, { |
|
dataField: 'name', |
|
text: 'Product Name', |
|
sort: true |
|
}, { |
|
dataField: 'price', |
|
text: 'Product Price', |
|
sort: true |
|
}];*/ |
|
|
|
const data = [ |
|
{ |
|
"id": 0, |
|
"name": "Item name 0", |
|
"price": 2100 |
|
}, |
|
{ |
|
"id": 1, |
|
"name": "Item name 1", |
|
"price": 2101 |
|
}, |
|
{ |
|
"id": 2, |
|
"name": "Item name 2", |
|
"price": 2102 |
|
}, |
|
{ |
|
"id": 3, |
|
"name": "Item name 3", |
|
"price": 2103 |
|
}, |
|
{ |
|
"id": 4, |
|
"name": "Item name 4", |
|
"price": 2104 |
|
}, |
|
{ |
|
"id": 5, |
|
"name": "Item name 5", |
|
"price": 2105 |
|
}]; |
|
|
|
|
|
|
|
class MapConfig extends Component { |
|
render() { |
|
return ( |
|
<div> |
|
<DataTable |
|
title="Map Config" |
|
data={data} |
|
/> |
|
</div> |
|
) |
|
} |
|
} |
|
|
|
export default MapConfig; |