maputnik/src/components/map/FeatureLayerTable.jsx

21 lines
403 B
React
Raw Normal View History

2016-12-24 15:24:22 +01:00
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