@scaleflex/icons
Version:
SVG icons as React components
25 lines • 1.92 kB
JavaScript
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 Canva = 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": "Canva",
ref: ref,
width: size,
height: size,
viewBox: "0 0 37 50",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
}, rest), /*#__PURE__*/React.createElement("path", {
d: "M34.5979 38.3699C32.5595 41.1277 29.9216 44.0053 26.4444 46.1636C23.0871 48.3219 19.2502 50.0005 14.6938 50.0005C10.4972 50.0005 7.01997 47.8423 5.1015 46.0437C2.22381 43.2859 0.665053 39.3291 0.185437 35.6121C-1.25341 24.1013 5.82093 8.87345 16.7322 2.27873C19.2502 0.719973 22.008 0.000549316 24.6459 0.000549316C29.9216 0.000549316 33.8785 3.71758 34.3581 8.27393C34.8377 12.3507 33.279 15.8279 28.7226 18.1061C26.4444 19.3051 25.2454 19.1852 24.8857 18.7056C24.6459 18.3459 24.7658 17.7464 25.2454 17.3866C29.442 13.9094 29.5619 11.0317 29.0823 6.95499C28.7226 4.3171 27.044 2.63844 25.1255 2.63844C16.8521 2.63844 4.8617 21.2236 6.54035 34.6528C7.13988 39.9286 10.3773 46.0437 17.0919 46.0437C19.2502 46.0437 21.6483 45.4442 23.6866 44.3651C28.3629 41.967 30.4013 40.2883 33.1591 36.4514C33.5188 35.9718 33.8785 35.3723 34.2382 34.8926C34.478 34.413 34.9576 34.2931 35.3173 34.2931C35.677 34.2931 36.1567 34.6528 36.1567 35.2523C36.1567 35.6121 36.0368 36.3315 35.5571 36.931C35.4372 37.1708 35.0775 37.8902 34.5979 38.3699Z",
fill: color
}));
});
export default Canva;