mirror of
https://github.com/maputnik/editor.git
synced 2025-12-31 10:30:00 +00:00
Show layer table
This commit is contained in:
20
src/components/map/FeatureLayerTable.jsx
Normal file
20
src/components/map/FeatureLayerTable.jsx
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user