@lighthouseapps/react-native-date-picker

1.0.0 • Public • Published

react-native-date-picker

React Native DatePicker for Android and iOS

Getting started

$ npm i @lighthouseapps/react-native-date-picker --save

Usage

import React from 'react';
import DatePicker from '@lighthouseapps/react-native-date-picker';

class App extends React.Component {
  componentDidMount() {
    // handleToggle('date' || 'time', callback);

    this.datePicker.handleToggle('date', date => console.log(date));
  }

  render() {
    return <DatePicker ref={ref => { this.datePicker = ref; }} />;
  }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i @lighthouseapps/react-native-date-picker

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

7.19 kB

Total Files

9

Last publish

Collaborators

  • leosampc
  • marlonconstante
  • gustavo-kuze
  • donnes
  • alvarosilveiraa
  • lhdev