Skip to content

cawfree/react-native-simpler-date-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@cawfree/react-native-simpler-date-picker

A simple date picker component with a focus on reducing implementation complexity.

@cawfree/react-native-simpler-date-picker

Are you using react-native-simple-date-picker? Don't. It's deprecated (and overcomplicated).

🚀 Getting Started

Using npm:

npm install --save @cawfree/react-native-simpler-date-picker

Using yarn:

yarn add @cawfree/react-native-simpler-date-picker

✍️ Example

It's really simple, just make sure you have moment.js installed so you can toy with the results.

import SimplerDatePicker from '@cawfree/react-native-simpler-date-picker';

const App = () => (
  <SimplerDatePicker
    minDate={Moment().subtract(1, 'days')}
    maxDate={Moment().add(1, 'days')}
    onDatePicked={console.log}
  />
);

That's all!

✌️ License

MIT

Buy @cawfree a coffee

About

A simple date picker component with a focus on reducing implementation complexity.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •