"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "TriggerPrice", {
    enumerable: true,
    get: function() {
        return TriggerPrice;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _positionRowContext = require("./positionRowContext");
const _tpslTriggerPrice = require("./tpslTriggerPrice");
const TriggerPrice = (props)=>{
    const { stopLossPrice, takeProfitPrice } = props;
    const { tpslOrder, position } = (0, _positionRowContext.usePositionsRowContext)();
    return /*#__PURE__*/ (0, _jsxruntime.jsx)(_tpslTriggerPrice.TPSLTriggerPrice, {
        stopLossPrice: stopLossPrice,
        takeProfitPrice: takeProfitPrice,
        direction: "column",
        order: tpslOrder,
        position: position,
        tooltip: true
    });
};

//# sourceMappingURL=triggerPrice.js.map