import React from 'react' import { NumericFormat } from 'react-number-format' import Input from './Input' import { toFixed } from '@/utils' export default function FormInputNumeric({ name, onChange, value, label, className, error, max = 999999999, fixed = true, }) { if (fixed) { value = toFixed(value) } value = Number(value) const labelId = `${name}-${value}` return (
{error}
)}