react-native-month-calendar
v1.0.1
Published
⚛ Simple to use React Native library to get Date and Year for Android and iOS.
Downloads
7
Maintainers
Readme
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
={()=>{}}