import React from 'react' import { Checkbox, Input } from 'rebass' export default class FillLayer extends React.Component { static propTypes = { layer: React.PropTypes.object.isRequired, onPaintChanged: React.PropTypes.func.isRequired } onPaintChanged(property, e) { let value = e.target.value if (property == "fill-opacity") { value = parseFloat(value) } this.props.onPaintChanged(property, value) } render() { const paint = this.props.layer.get('paint') return
} }