@s-ui/react-icons
Version:
ReactJS SUI SVG iconset
31 lines • 1.3 kB
JavaScript
import React from 'react';
import { jsx as _jsx } from "react/jsx-runtime";
export default function (_ref) {
var _ref$size = _ref.size,
size = _ref$size === void 0 ? 32 : _ref$size,
_ref$strokeColor = _ref.strokeColor,
strokeColor = _ref$strokeColor === void 0 ? 'blue' : _ref$strokeColor,
_ref$strokeWidth = _ref.strokeWidth,
strokeWidth = _ref$strokeWidth === void 0 ? 0 : _ref$strokeWidth,
_ref$fillColor = _ref.fillColor,
fillColor = _ref$fillColor === void 0 ? '#bada55' : _ref$fillColor,
_ref$svgClass = _ref.svgClass,
svgClass = _ref$svgClass === void 0 ? 'sui-SVGicon' : _ref$svgClass;
var inlineStyling = {
fill: fillColor,
stroke: strokeColor,
strokeWidth: strokeWidth
};
return /*#__PURE__*/_jsx("svg", {
className: svgClass,
height: size,
style: inlineStyling,
viewBox: "0 0 8 8",
width: size,
xmlns: "http://www.w3.org/2000/svg",
children: /*#__PURE__*/_jsx("path", {
d: "M2 0c-.55 0-1.04.23-1.41.59-.36.36-.59.85-.59 1.41 0 .55.23 1.04.59 1.41l3.41 3.41 3.41-3.41c.36-.36.59-.85.59-1.41 0-.55-.23-1.04-.59-1.41-.36-.36-.85-.59-1.41-.59-.55 0-1.04.23-1.41.59-.36.36-.59.85-.59 1.41 0-.55-.23-1.04-.59-1.41-.36-.36-.85-.59-1.41-.59z",
transform: "translate(0 1)"
})
});
}