UNPKG

mobile-more

Version:

基于 antd-mobile v5 扩展移动端 UI 组件

22 lines (21 loc) 867 B
import * as React from 'react'; import { BizFormItemProps } from '../FormItem'; import { TNames } from '../utils/transform'; import { SuperPickerProps } from './SuperPicker'; export interface BizFormItemPickerProps extends Omit<BizFormItemProps, 'children'>, Pick<SuperPickerProps, 'columns' | 'renderCurrentValue' | 'separator' | 'mapKeys' | 'title' | 'placeholder'> { /** * @description 只读。 */ readOnly?: boolean; /** * @description 透传 Picker 组件属性。 * @see {@link https://mobile.ant.design/zh/components/picker#属性|PickerProps} */ pickerProps?: Partial<SuperPickerProps>; /** * @description 级联选项字段名解构,设置该字段后,`name` 将失效。 */ names?: TNames; } declare const BizFormItemPicker: React.FC<BizFormItemPickerProps>; export default BizFormItemPicker;