Open koala-lava opened 6 years ago
<Map onAPIAvailable={function () { console.log('API loaded'); }} center={[51.70858418, 94.43314205]} zoom={17} style={{ width: '100%', height: '200px' }}> <Marker lat={this.props.lat} lon={this.props.lon} /> </Map>
Used style prop. How can I style this Map component? I mean hardcoded width and height is not an option for me.
Used style prop. How can I style this Map component? I mean hardcoded width and height is not an option for me.