"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "NumeralWithSymbol", {
    enumerable: true,
    get: function() {
        return NumeralWithSymbol;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _numeral = require("./numeral");
const _hooks = require("@orderly.network/hooks");
const NumeralWithSymbol = (props)=>{
    //   const { data, isLoading, error } = useSymbolsInfo();
    const config = (0, _hooks.useSymbolsInfo)()[props.symbol];
    return /*#__PURE__*/ (0, _jsxruntime.jsx)(_numeral.Numeral, {
        ...props,
        precision: config("quote_dp", 2)
    });
};

//# sourceMappingURL=numeralWithSymbol.js.map