"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "OrderPrice", {
    enumerable: true,
    get: function() {
        return OrderPrice;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _tpslOrderRowContext = require("./tpslOrderRowContext");
const OrderPrice = ()=>{
    const { sl_trigger_price, tp_trigger_price } = (0, _tpslOrderRowContext.useTPSLOrderRowContext)();
    return /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
        children: [
            !!tp_trigger_price ? /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
                className: "orderly-text-base-contrast-80 orderly-td-bg-transparent",
                children: [
                    /*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
                        className: "orderly-text-base-contrast-54",
                        children: "TP - "
                    }),
                    /*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
                        children: "Market"
                    })
                ]
            }) : null,
            !!sl_trigger_price ? /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
                className: "orderly-text-base-contrast-80 orderly-td-bg-transparent",
                children: [
                    /*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
                        className: "orderly-text-base-contrast-54",
                        children: "SL - "
                    }),
                    /*#__PURE__*/ (0, _jsxruntime.jsx)("span", {
                        children: "Market"
                    })
                ]
            }) : null
        ]
    });
};

//# sourceMappingURL=orderPrice.js.map