Skip to content

maggialejandro/react-native-month

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

78 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

React Native Month ๐Ÿ“†

BuildStatus NPM version npm CodeFactor Codacy Badge

Screenshot

Installation

npm install react-native-month --save

Using yarn

yarn add react-native-month

Usage

See example folder

API

Prop Description Required? Default Type
onPress Callback called when a day is pressed. yes Function
minDate Minimum date that can be selected. no null 'YYYY-MM-DD'
maxDate Maximum date that can be selected. no null 'YYYY-MM-DD'
startDate Selected start date no null 'YYYY-MM-DD'
endDate Selected end date requires startDate null 'YYYY-MM-DD'
theme Calendar StyleSheet no null ThemeType
locale Calendar language es, en, fr, br, zh, ru 'en' LocaleType
showWeekdays Show Week columns no true boolean
firstDayMonday Monday as first day of the week no false boolean
monthHeight Change Month row height no 370 number
disabledDays Disabled days no null {[string]: any }
renderDayContent Render custom Day content no null Function
disableOffsetDays Remove offset Days. no false boolean

License

MIT