"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "CancelButton", {
    enumerable: true,
    get: function() {
        return CancelButton;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _tpslOrderRowContext = require("../../block/tp_sl/tpslOrderRowContext");
const _orderCancelButton = require("../../block/commons/orderCancelButton");
const CancelButton = (props)=>{
    const { onCancelOrder, order } = (0, _tpslOrderRowContext.useTPSLOrderRowContext)();
    return /*#__PURE__*/ (0, _jsxruntime.jsx)(_orderCancelButton.OrderCancelButton, {
        order: order,
        onCancelOrder: onCancelOrder
    });
};

//# sourceMappingURL=cancelButton.js.map