import React from 'react';
import { InputNumber } from 'antd';
/**
 * PisellNumber 禁用态视图组件
 * 
 * 负责渲染禁用态的输入框
 * 
 * @param props 组件 Props
 */
var DisabledView = function DisabledView(props) {
  var value = props.value,
    defaultValue = props.defaultValue,
    min = props.min,
    max = props.max,
    step = props.step,
    precision = props.precision,
    formatter = props.formatter,
    placeholder = props.placeholder,
    prefix = props.prefix,
    addonBefore = props.addonBefore,
    addonAfter = props.addonAfter,
    size = props.size,
    controls = props.controls,
    className = props.className,
    style = props.style,
    id = props.id,
    name = props.name;
  return /*#__PURE__*/React.createElement("div", {
    className: "pisell-number pisell-number-disabled ".concat(className || '')
  }, /*#__PURE__*/React.createElement(InputNumber, {
    disabled: true,
    value: value,
    defaultValue: defaultValue,
    min: min,
    max: max,
    step: step,
    precision: precision,
    formatter: formatter,
    placeholder: placeholder,
    prefix: prefix,
    addonBefore: addonBefore,
    addonAfter: addonAfter,
    size: size,
    controls: controls,
    style: style,
    id: id,
    name: name
  }));
};
export default DisabledView;