{"repo":"BrennanR/react-clean-calendar","free":true,"listed":false,"github":"https://github.com/BrennanR/react-clean-calendar","clone":"git clone https://github.com/BrennanR/react-clean-calendar.git","description":"A highly-customizable and simple-to-use react calendar component.","language":"JavaScript","stars":13,"topics":["react","calendar","calendar-day","reactjs","calendar-component","render-props"],"license":"MIT","category":"productivity","readme_excerpt":"React Clean Calendar &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A number of examples and recipes can be found here: Examples and Recipes. react-clean-calendar is a light-weight react calendar component that primarily aims to solve the date-math involved in rendering a calendar. The component, given a year, month, and 'first day of the week' (eg. traditionally Sunday in North America, Monday in Europe) will render enough rows to display each day of the calendar month. The calendar provides little to no styling for content inside of day cells. A renderDay prop is provided that lets you control and render the day exactly how you'd like. Getting Started The easiest way to get started with this library is to browse the examples and recipes and their associated source code. Exports Note: this library uses 1-indexed month values (1=Jan, 12=Dec). Calendar - The main react calendar component. Available Props Name Required Type Description ------------------- ---------- ---------------------------------- ------------------------------------------------------ year yes number The current calendar year to show. month yes number The current calendar month to show, 1-12. locale yes string A string with a BCP 47 language tag, or an array of such strings. See here. renderDay yes (date: Date, cellID: string) = Node A render function to render one calendar day's contents. firstWeekday no Weekday The day of the week represented by the first calendar column. This defaults to 0. Weekday is an enum of 0-","default_branch":null,"files":null,"tree":[],"storefront":"/r/BrennanR","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BrennanR/react-clean-calendar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}