react-bytesize-icons
Version:
Bytesize Icons as React Components.
35 lines (33 loc) • 1.31 kB
JavaScript
import React from 'react';
var Gift = function Gift(_ref) {
var _ref$id = _ref.id,
id = _ref$id === void 0 ? "i-gift" : _ref$id,
className = _ref.className,
_ref$width = _ref.width,
width = _ref$width === void 0 ? 32 : _ref$width,
_ref$height = _ref.height,
height = _ref$height === void 0 ? 32 : _ref$height,
_ref$strokeWidth = _ref.strokeWidth,
strokeWidth = _ref$strokeWidth === void 0 ? '6.25%' : _ref$strokeWidth,
_ref$strokeLinejoin = _ref.strokeLinejoin,
strokeLinejoin = _ref$strokeLinejoin === void 0 ? 'round' : _ref$strokeLinejoin,
_ref$strokeLinecap = _ref.strokeLinecap,
strokeLinecap = _ref$strokeLinecap === void 0 ? 'round' : _ref$strokeLinecap,
_ref$color = _ref.color,
color = _ref$color === void 0 ? 'currentcolor' : _ref$color;
return React.createElement("svg", {
className: className,
id: id,
viewBox: "0 0 32 32",
width: width,
height: height,
fill: "none",
stroke: color,
strokeLinecap: strokeLinecap,
strokeLinejoin: strokeLinejoin,
strokeWidth: strokeWidth
}, React.createElement("path", {
d: "M4 14 L4 30 28 30 28 14 M2 9 L2 14 30 14 30 9 Z M16 9 C 16 9 14 0 8 3 2 6 16 9 16 9 16 9 18 0 24 3 30 6 16 9 16 9 M16 9 L16 30"
}));
};
export default Gift;