UNPKG

@scaleflex/icons

Version:
28 lines (27 loc) 2.51 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 Tag = 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": "Tag", 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: "M0 37.3958V32.1875C0 31.5625 0.520833 31.0417 1.14583 31.0417H7.70833C7.70833 31.0417 7.8125 31.0417 7.8125 30.9375L10 18.6458C10 18.6458 10 18.5417 9.89583 18.5417H4.375C3.75 18.5417 3.22917 18.0208 3.22917 17.3958V12.1875C3.22917 11.5625 3.75 11.0417 4.375 11.0417H11.25C11.25 11.0417 11.3542 11.0417 11.3542 10.9375L13.125 0.9375C13.2292 0.416667 13.6458 0 14.2708 0H19.8958C20.625 0 21.1458 0.625 21.0417 1.35417L19.2708 11.0417C19.2708 11.0417 19.2708 11.1458 19.375 11.1458H31.0417C31.0417 11.1458 31.1458 11.1458 31.1458 11.0417L32.9167 0.9375C33.0208 0.416667 33.4375 0 34.0625 0H39.6875C40.4167 0 40.9375 0.625 40.8333 1.35417L39.0625 11.1458H44.2708C44.8958 11.1458 45.4167 11.6667 45.4167 12.2917V17.5C45.4167 18.125 44.8958 18.6458 44.2708 18.6458H37.7083L35.5208 31.0417H41.1458C41.7708 31.0417 42.2917 31.5625 42.2917 32.1875V37.3958C42.2917 38.0208 41.7708 38.5417 41.1458 38.5417H34.2708C34.2708 38.5417 34.1667 38.5417 34.1667 38.6458L32.2917 49.0625C32.1875 49.5833 31.7708 50 31.1458 50H25.625C24.8958 50 24.375 49.375 24.4792 48.6458L26.25 38.6458C26.25 38.6458 26.25 38.5417 26.1458 38.5417H14.4792C14.4792 38.5417 14.375 38.5417 14.375 38.6458L12.5 49.0625C12.3958 49.5833 11.9792 50 11.3542 50H5.72917C5 50 4.47917 49.375 4.58333 48.6458L6.35417 38.6458C6.35417 38.6458 6.35417 38.5417 6.25 38.5417H1.04167C0.520833 38.4375 0 37.9167 0 37.3958ZM15.8333 30.9375H27.5C27.5 30.9375 27.6042 30.9375 27.6042 30.8333L29.7917 18.6458C29.7917 18.6458 29.7917 18.5417 29.6875 18.5417H18.0208C18.0208 18.5417 17.9167 18.5417 17.9167 18.6458L15.8333 30.9375C15.7292 30.9375 15.7292 30.9375 15.8333 30.9375Z", fill: color })) // </svg> ; }); export default Tag;