react-field-components

1.4.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i react-field-components

Weekly Downloads

4

Version

1.4.0

License

MIT

Last publish

Collaborators

  • derniercri