diff --git a/src/index.js b/src/index.js index d7a0a1b..4ca2acb 100644 --- a/src/index.js +++ b/src/index.js @@ -60,7 +60,7 @@ function getButtonProps({ label, onClick }) { } } -function useCalendar({ +export function useCalendar({ initialDate, initialNumDays = DEFAULTS.initialNumDays, date: dateProp,