🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More →
Socket
Book a DemoSign in
Socket

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

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

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

latest
Source
npmnpm
Version
0.1.0-alpha.4
Version published
Weekly downloads
71
373.33%
Maintainers
1
Weekly downloads
 
Created
Source

@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

Keywords

react

FAQs

Package last updated on 08 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts