@semcore/icon
Version:
Semrush Icon Component
24 lines • 1.19 kB
JavaScript
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import React from 'react';
import { createBaseComponent } from '@semcore/core';
import Icon from '@semcore/icon';
function Collapse({
width = '16',
height = '16',
viewBox = '0 0 16 16',
...props
}, ref) {
return /*#__PURE__*/React.createElement(Icon, _extends({
ref: ref,
"data-name": "Collapse",
"data-group": "m",
width: width,
height: height,
viewBox: viewBox
}, props), /*#__PURE__*/React.createElement("path", {
d: "M15.001 6.002a1 1 0 0 1-1 1h-4a1 1 0 0 1-1.001-1v-4a1 1 0 0 1 2 0v1.586L14.293.293a1 1 0 0 1 1.414 1.414l-3.292 3.295H14a1 1 0 0 1 1 1ZM.999 10a1 1 0 0 1 1-1h4A1 1 0 0 1 7 10v4a1 1 0 0 1-2 0v-1.586L1.707 15.71a1 1 0 0 1-1.414-1.414L3.585 11H2a1 1 0 0 1-1-1Z",
shapeRendering: "geometricPrecision"
}));
}
Collapse.displayName = 'Collapse';
export default createBaseComponent(Collapse);