"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _wauField = _interopRequireDefault(require("../../../wau-field"));
var _createField = _interopRequireDefault(require("../../create-field"));
var _jsxRuntime = require("react/jsx-runtime");
/**
 * 评分组件
 *
 * @param
 */const ProFormRate = ({
  fieldProps,
  proFieldProps
}, ref) => {
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_wauField.default, {
    valueType: "rate",
    mode: "edit",
    fieldProps: fieldProps,
    ref: ref,
    ...proFieldProps
  });
};
var _default = (0, _createField.default)( /*#__PURE__*/_react.default.forwardRef(ProFormRate));
exports.default = _default;