import React from 'react'; import type { ModalProps, InputProps } from 'antd'; import type { ProTableProps } from '@ant-design/pro-components'; interface SelectTableKeyPorps { /** 例如 id、vin 默认id */ rowKey?: string; /** antd Form.Item 对应的value */ value?: React.key; /** antd Form.Item 对应的onChange */ onChange?: (s?: React.key) => void; /** 列表组件 */ children?: React.ReactNode; /** 禁止使用 */ disabled?: boolean; /** 弹窗的props */ modalProps?: Omit; /** proTable的参数 */ proTableProps?: Omit, 'rowKey|rowSelection'>; /** input参数 */ inputProps?: Omit; /** 不在列表中显示的Colums */ filterColums?: string[]; disabledColums?: string[]; defaultSearchParams?: Object; /** 在input中显示的字符串,不传则显示选中的value(id或者vin等等) */ inputValue?: string; /** input 输入的时候触发onChange inputProps.disabled 要设置为false */ isInput?: boolean; } declare function SelectTableKey(props: SelectTableKeyPorps): JSX.Element; export default SelectTableKey;