New Picker prop pickerType to choose the "render" mode of the picker - 'modal, dialog, wheelPicker, custom" and according to that to pass the right type of header props.
Default value 'Modal'.
Deprecation of useDialog, useWheelPicker, pickerModalProps, renderCustomModal.
Note: I moved the Picker prop that are deprecated to PickerDeprecationsProps type so in v8 removing the props from PickerBaseProps will be much easier.
Changelog
New Picker prop pickerType and 'headerProps' props to choose the "render" mode of the picker.
Description
New Picker prop
pickerType
to choose the "render" mode of the picker - 'modal, dialog, wheelPicker, custom" and according to that to pass the right type of header props. Default value 'Modal'. Deprecation ofuseDialog, useWheelPicker, pickerModalProps, renderCustomModal
.Note: I moved the Picker prop that are deprecated to
PickerDeprecationsProps
type so inv8
removing the props fromPickerBaseProps
will be much easier.Changelog
New Picker prop
pickerType
and 'headerProps' props to choose the "render" mode of the picker.Additional info
MADS-4187