react-native-misc

React Native library

This project is maintained by iliubinskii

React Native libraryDocs


React Native library / hooks/useCalendar / useCalendar

Function: useCalendar()

useCalendar(month, weekStartsOn, workweekStartsOn, onDayPress): Calendar

Calendar hook.

Parameters

month: string

Month.

weekStartsOn: 0 | 1

Week starts on.

workweekStartsOn: 0 | 1

Workweek starts on.

onDayPress = fn.noop

Handles day press.

Returns

Calendar

Calendar variables.