"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "OrderTriggerPrice", {
    enumerable: true,
    get: function() {
        return OrderTriggerPrice;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _tpslOrderRowContext = require("../../block/tp_sl/tpslOrderRowContext");
const _tpslTriggerPrice = require("../../block/positions/full/tpslTriggerPrice");
const OrderTriggerPrice = ()=>{
    const { sl_trigger_price, tp_trigger_price, order, position } = (0, _tpslOrderRowContext.useTPSLOrderRowContext)();
    return /*#__PURE__*/ (0, _jsxruntime.jsx)(_tpslTriggerPrice.TPSLTriggerPrice, {
        stopLossPrice: sl_trigger_price,
        takeProfitPrice: tp_trigger_price,
        direction: "column",
        order: order,
        position: position,
        tooltip: true
    });
};

//# sourceMappingURL=orderTriggerPrice.js.map