New to KendoReact? Learn about KendoReact Free.
DateInputs Props Context
The PropsContext allows you to configure the props of all @progress/kendo-react-dateinputs components inside of it.
This is useful if a component from the @progress/kendo-react-dateinputs package is wrapped inside another component (for example, KendoReact Grid or Scheduler) and a specific component configuration is not exposed.
The following example shows how to configure the Calendar props in a Grid by using CalendarPropsContext:
Change Theme
Theme
Loading ...
Available Contexts
The following components from the @progress/kendo-react-dateinputs package support passing props through context:
| Component | Context |
|---|---|
| Calendar | CalendarPropsContext |
| MultiViewCalendar | MultiViewCalendarPropsContext |
| DateInput | DateInputPropsContext |
| DatePicker | DatePickerPropsContext |
| TimePicker | TimePickerPropsContext |
| DateTimePicker | DateTimePickerPropsContext |
| DateRangePicker | DateRangePickerPropsContext |