react-field-components
v1.4.0
Published
Set of useful component
Downloads
30
Readme
import
import {
DateField,
MapField,
SuggestField,
} from 'react-components'
DateField
<DateField
selectedValue={this.state.value || new Date()}
onValueChange={value => this.setState({ value })}
androidStyles={{
pickerholder: {},
pickerStyle: {},
itemStyle: {},
}}
selectedValue
mode="date" || "datetime"
maxDate=""
/>
MapField
Requires "react-native-maps": "^0.13.1"
googlePlaceKey
https://console.developers.google.com
- Google Places API Web Service
- Google Maps Geocoding API