Inputs Props Context
The PropsContext
allows you to configure the props of all @progress/kendo-react-inputs
components inside of it.
This is useful if a component from the @progress/kendo-react-inputs
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 NumericTextBox props in a Grid by using NumericTextBoxPropsContext
:
Available Contexts
The following components from the @progress/kendo-react-inputs
package support passing props
through context
:
Component | Context |
---|---|
Checkbox | CheckboxPropsContext |
ColorPicker | ColorPickerPropsContext |
ColorGradient | ColorGradientPropsContext |
ColorPalette | ColorPalettePropsContext |
Input | InputPropsContext |
MaskedTextBox | MaskedTextBoxPropsContext |
NumericTextBox | NumericTextBoxPropsContext |
RadioButton | RadioButtonPropsContext |
RadioGroup | RadioGroupPropsContext |
RangeSlider | RangeSliderPropsContext |
Rating | RatingPropsContext |
Slider | SliderPropsContext |
Switch | SwitchPropsContext |
TextArea | TextAreaPropsContext |