import React from 'react';
import { InputNumber } from 'antd';

export interface ProIuputNumberProp {
  value?: number;
  onChange?: (value: number | null) => void;
}

const ProIuputNumber: React.FC<ProIuputNumberProp> = function ({ value, onChange }) {
  return <InputNumber size="small" className="!w-full" value={value} onChange={onChange} />;
};

export default ProIuputNumber;
