"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("prop-types"),r=require("react/jsx-runtime");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e);function l(e){var t=e.value,a=e.format,l=e.placeholder,u=parseFloat(t);return Number.isFinite(u)?r.jsx("span",{children:u.formatNumeral(a)}):r.jsx("span",{children:l})}l.propTypes={value:a.default.any,format:a.default.string,placeholder:a.default.string},l.defaultProps={value:null,format:"0.00",placeholder:"—"},exports.FormatedNumber=l;
//# sourceMappingURL=FormatedNumber.js.map
