"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "TradingPair", {
    enumerable: true,
    get: function() {
        return TradingPair;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _react = require("react");
const TradingPair = (props)=>{
    if (typeof props.children !== "string") {
        throw new Error("TradingPair must have a string child");
    }
    const children = (0, _react.useMemo)(()=>{
        return props.children;
    }, [
        props.children
    ]);
    return /*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
        ...props,
        children: children
    });
};

//# sourceMappingURL=tradingPair.js.map