import r from"prop-types";import{jsx as e}from"react/jsx-runtime";function a(r){var a=r.value,o=r.format,t=r.placeholder,l=parseFloat(a);return Number.isFinite(l)?e("span",{children:l.formatNumeral(o)}):e("span",{children:t})}a.propTypes={value:r.any,format:r.string,placeholder:r.string},a.defaultProps={value:null,format:"0.00",placeholder:"—"};export{a as FormatedNumber};
//# sourceMappingURL=FormatedNumber.js.map
