JSPM

swipeable-calendar-strip-react-native

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q47453F
  • License MIT

React Native Swipeable Calendar Strip

Package Exports

  • swipeable-calendar-strip-react-native

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 (swipeable-calendar-strip-react-native) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

swipeable-calendar-strip-react-native

React Native library - Swipeable Calendar Strip

Installation

Use npm package manager to install.

npm install swipeable-calendar-strip-react-native

Usage

import CalendarStrip from "swipeable-calendar-strip-react-native";
import moment from "moment";

const calendar = props => {
   return (
      <CalendarStrip 
        dayPressed={(day) => console.log(day)} //executes when day is pressed -- required
        showHeader={true} //accepts booleans 
        startingDate={moment()} //accepts Date or moment date format -- initial value = moment()
      />
   )
}

export default calendar;

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Licenced under MIT licence