import React from 'react';
import ProField from '../../../wau-field';
import createField from '../../create-field';
import { jsx as _jsx } from "react/jsx-runtime";
/**
 * 数组选择组件
 *
 * @param
 */
const ProFormDigit = ({
  fieldProps,
  min,
  proFieldProps,
  max
}, ref) => {
  return /*#__PURE__*/_jsx(ProField, {
    mode: "edit",
    valueType: "digit",
    fieldProps: {
      min,
      max,
      ...fieldProps
    },
    ref: ref,
    ...proFieldProps
  });
};
export default createField( /*#__PURE__*/React.forwardRef(ProFormDigit));