Function: useNavigation
▸ useNavigation(): NavigationContextValue
Hook to access the NavigationContextValue. Use this hook to navigate between months or years in DayPicker.
This hook is meant to be used inside internal or custom components.
Returns
Defined in
packages/react-day-picker/src/contexts/Navigation/NavigationContext.tsx:89