synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
12 lines • 1.11 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var react_1 = (0, tslib_1.__importDefault)(require("react"));
var Arrow = function (_a) {
var _b, _c, _d;
var arrowDirection = _a.arrowDirection, props = (0, tslib_1.__rest)(_a, ["arrowDirection"]);
return (react_1.default.createElement("svg", (0, tslib_1.__assign)({}, props, { className: "SRC-arrow-icon " + ((_b = props.className) !== null && _b !== void 0 ? _b : ''), style: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, props.style), { transform: (arrowDirection === 'left' ? 'rotate(180deg)' : '') + " " + ((_d = (_c = props.style) === null || _c === void 0 ? void 0 : _c.transform) !== null && _d !== void 0 ? _d : '') }), width: "35", height: "35", viewBox: "0 0 35 35", fill: "none", xmlns: "http://www.w3.org/2000/svg" }),
react_1.default.createElement("path", { d: "M0 15.2904L0 19.7096L26.5152 19.7096L14.3624 31.8624L17.5 35L35 17.5L17.5 -1.68579e-07L14.3624 3.13763L26.5152 15.2904L0 15.2904Z" })));
};
exports.default = Arrow;
//# sourceMappingURL=Arrow.js.map