UNPKG

react-day-picker

Version:

Customizable Date Picker for React

10 lines (9 loc) 514 B
import React, { ReactNode } from 'react'; import { Modifiers } from '../../types/Modifiers'; /** The Modifiers context store the modifiers used in DayPicker. To access the value of this context, use [[useModifiers]]. */ export declare const ModifiersContext: React.Context<Modifiers | undefined>; export declare type ModifiersProviderProps = { children: ReactNode; }; /** Provide the value for the [[ModifiersContext]]. */ export declare function ModifiersProvider(props: ModifiersProviderProps): JSX.Element;