UNPKG

@scaleflex/icons

Version:
31 lines 2.1 kB
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; var _excluded = ["color", "size"]; import React from 'react'; import { intrinsicComponent } from './utils/functions'; export var Code = intrinsicComponent(function (_ref, ref) { var _ref$color = _ref.color, color = _ref$color === void 0 ? 'currentColor' : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 14 : _ref$size, rest = _objectWithoutProperties(_ref, _excluded); return /*#__PURE__*/React.createElement("svg", _extends({ "data-icon-name": "Code", ref: ref, width: size, height: size, viewBox: "0 0 50 50", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest), /*#__PURE__*/React.createElement("path", { d: "M10.7591 38.1139C11.3311 38.751 12.1514 39.1161 13.0095 39.1161C13.7581 39.1161 14.4773 38.8397 15.0337 38.3386C16.2739 37.2226 16.3744 35.304 15.2584 34.0624L7.10144 25L15.2584 15.9363C16.3744 14.6962 16.2739 12.7775 15.0337 11.6616C14.4329 11.1206 13.6524 10.8397 12.8498 10.8885C12.0413 10.9313 11.2992 11.2847 10.7591 11.8847L0.778769 22.9751C-0.25959 24.1294 -0.25959 25.8707 0.778769 27.0266L10.7591 38.1139Z", fill: color }), /*#__PURE__*/React.createElement("path", { d: "M39.2391 11.8846C38.1232 10.646 36.2068 10.544 34.9644 11.6615C33.7242 12.7775 33.6237 14.6961 34.7397 15.9377L42.8967 25L34.7397 34.0638C33.6237 35.3039 33.7242 37.2225 34.9644 38.34C35.5209 38.8396 36.24 39.116 36.9887 39.116C37.8467 39.116 38.667 38.7509 39.2391 38.1154L49.2193 27.025C50.2577 25.8706 50.2577 24.1293 49.2193 22.975L39.2391 11.8846Z", fill: color }), /*#__PURE__*/React.createElement("path", { d: "M30.412 3.4006L30.409 3.39917C28.7868 3.00596 27.1468 4.0037 26.7507 5.61923L17.5878 42.9387C17.1895 44.5588 18.1842 46.2009 19.8064 46.6C20.0423 46.6576 20.2854 46.6872 20.5286 46.6872C21.9254 46.6872 23.1337 45.7397 23.4663 44.3814L32.6292 7.06195C33.0275 5.44184 32.0327 3.79971 30.412 3.4006Z", fill: color })); }); export default Code;