stephy / CalendarPicker

CalendarPicker Component for React Native
807 stars 372 forks source link

#383 support for defaultprops #390

Closed asieraduriz closed 3 months ago

asieraduriz commented 4 months ago

Taking https://github.com/stephy/CalendarPicker/issues/383 and creating a simple PR. Instead of having default props being defined as class components do, simply use javascript to default to an empty array when destructuring props

ramonxm commented 3 months ago

it would be great to include this in the next release, @stephy or @peacechen can you validate this?

peacechen commented 3 months ago

Thanks @asieraduriz for contributing to this project.

Unfortunately @stephy has been inactive for quite some time. I'll merge and publish this.