JSPM

@maurofalcone/react-native-date-picker

1.0.9
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q27156F
  • License MIT

A simple, customizable and lightweight calendar date picker for react-native

Package Exports

  • @maurofalcone/react-native-date-picker
  • @maurofalcone/react-native-date-picker/lib/commonjs/index.js
  • @maurofalcone/react-native-date-picker/lib/module/index.js
  • @maurofalcone/react-native-date-picker/src/index.ts

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@maurofalcone/react-native-date-picker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-date-picker

A simple, customizable and lightweight calendar date picker for react-native.

Installation

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

or

yarn add @maurofalcone/react-native-date-picker

Usage

import React, { useState } from "react"
import { DatePicker, DatePickerProps } from "@maurofalcone/react-native-date-picker"

const [selectedDate, setSelectedDate] = useState(new Date())

<DatePicker
  onDateChange={(selectedDate) => {
    setSelectedDate(selectedDate)
  }}
  maxDate={maxDate}
  minDate={minDate}
  selectedDate={selectedDate}
/>

License

MIT