Skip to content

hardtogit/react-datepicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-datepicker-mobile

a simple datePicker component https://hardtogit.github.io/react-datepicker/example/build/index.html

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;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published