@codecademy/gamut

68.2.268.2.3-alpha.794432.0
dist/DatePicker/DatePickerContext.d.ts
+dist/DatePicker/DatePickerContext.d.tsNew file
+10
Index: package/dist/DatePicker/DatePickerContext.d.ts
===================================================================
--- package/dist/DatePicker/DatePickerContext.d.ts
+++ package/dist/DatePicker/DatePickerContext.d.ts
@@ -0,0 +1,10 @@
+import type { DatePickerContextValue as DatePickerContextValueType } from './types';
+export declare const DatePickerContext: import("react").Context<DatePickerContextValueType | null>;
+/** Provider component; DatePicker uses this to set the context value. */
+export declare const DatePickerProvider: import("react").Provider<DatePickerContextValueType | null>;
+/**
+ * Returns the DatePicker context value (shared state and callbacks).
+ * Must be used inside a DatePicker. For composed layouts, use this to get
+ * openCalendar, closeCalendar, isCalendarOpen, inputRef, calendarDialogId, etc.
+ */
+export declare const useDatePicker: () => DatePickerContextValueType;