mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-09 08:01:47 +01:00
21 lines
403 B
React
21 lines
403 B
React
|
import React from 'react'
|
||
|
|
||
|
class FeatureLayerTable extends React.Component {
|
||
|
render() {
|
||
|
const feature = this.props.feature
|
||
|
const rows = <tr>
|
||
|
<td className="debug-prop-key">{feature.layer.id}</td>
|
||
|
</tr>
|
||
|
return <table
|
||
|
style={{
|
||
|
color: 'black',
|
||
|
}}
|
||
|
className="debug-props">
|
||
|
<tbody>{rows}</tbody>
|
||
|
</table>;;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
export default FeatureLayerTable
|