react-native-month-calendar

1.0.1 • Public • Published

react-native-month-calendar

You can use multiple props

⚛ Simple to use React Native library to get Month and Year for Android and iOS.

Install

Install dependency package

Android install

npm i react-native-month-calendar

IOS install

pod install

Usage

Import the library:

import CustomCalendar from 'react-native-month-calendar';
           <CustomCalendar
              buttonText={'Submit'}
              buttonTextColor={'#ffffff'}
              selectedMonthColor={'#1C55A9'}
              monthYearColor={"#1C55A9"}
              getData={(item) => console.log(item)}
            />

Properties:

  • width
  • height
  • monthWidth
  • monthHeight
  • backgroundColor
  • buttonHeight
  • buttonWidth
  • buttonText
  • buttonTextColor
  • monthYearColor
  • monthBorderColor
  • dotColor
  • leftIconColor
  • rightIconColor
  • selectedMonthColor
  • getData={()=>{}}

Contribute

Package Sidebar

Install

npm i react-native-month-calendar

Weekly Downloads

4

Version

1.0.1

License

ISC

Unpacked Size

8.78 kB

Total Files

3

Last publish

Collaborators

  • piyush_rajput