PickerProps: { cancelText?: ReactNode; children?: ((items,
actions) => ReactNode); closeOnMaskClick?: boolean; columns: PickerColumn[] | ((value) => PickerColumn[]); confirmText?: ReactNode; defaultValue?: PickerValue[]; loading?: boolean; loadingContent?: ReactNode; mouseWheel?: boolean; onCancel?: (() => void); onClose?: (() => void); onConfirm?: ((value,
extend) => void); onSelect?: ((value,
extend) => void); popupClassName?: string; popupStyle?: CSSProperties; renderLabel?: ((item) => ReactNode); title?: ReactNode; value?: PickerValue[]; visible?: boolean; } & Pick<PopupProps, "getContainer" | "afterShow" | "afterClose" | "onClick" | "stopPropagation" | "forceRender" | "destroyOnClose"> & NativeProps<"--header-button-font-size" | "--title-font-size" | "--item-font-size" | "--item-height"> Type declaration
Optional cancelText?: ReactNode
Optional children?: ((items, actions) => ReactNode)
- (items, actions): ReactNode
Parameters
items: (PickerColumnItem | null)[]
actions: PickerActions
Returns ReactNode
Optional closeOnMaskClick?: boolean
columns: PickerColumn[] | ((value) => PickerColumn[])
Optional confirmText?: ReactNode
Optional defaultValue?: PickerValue[]
Optional loading?: boolean
Optional loadingContent?: ReactNode
Optional mouseWheel?: boolean
Optional onCancel?: (() => void)
Optional onClose?: (() => void)
Optional onConfirm?: ((value, extend) => void)
- (value, extend): void
Parameters
value: PickerValue[]
extend: PickerValueExtend
Returns void
Optional onSelect?: ((value, extend) => void)
- (value, extend): void
Parameters
value: PickerValue[]
extend: PickerValueExtend
Returns void
Optional popupClassName?: string
Optional popupStyle?: CSSProperties
Optional renderLabel?: ((item) => ReactNode)
- (item): ReactNode
Returns ReactNode
Optional title?: ReactNode
Optional value?: PickerValue[]
Optional visible?: boolean