1.0.3 • Published 6 years ago

react-datepicker-mobile v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

react-datepicker-mobile

a simple datePicker component http://114.215.68.43/datepicker

get start

step one

clone or down this project

the second step

cd example

the third step

npm install

finally

npm start

how to use

Example with defaults

install

npm intsall --save react-datepicker-mobile

Creating an example component:

import React,{Component} from 'react';
import DatePicker from 'react-datepicker-mobile';
class Index extents Component{
  componentDidMount(){
  this.refs.datePicker.toggle();
  }
  render: function() {
    return (
      <DatePicker ref="datePicker"> </DatePicker>  
    );
  },
};
export default Index;