@pathwright/pathicons
Version:
Pathwright icons, synced from Figma to React components
44 lines (41 loc) • 3.02 kB
JavaScript
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
import React from 'react';
import PropTypes from 'prop-types';
import { jsxs, jsx } from 'react/jsx-runtime';
var _excluded = ["color", "size"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
var SettingsVerticalIcon = /*#__PURE__*/React.forwardRef(function SettingsVerticalIcon(props, ref) {
var color = props.color,
size = props.size,
otherProps = _objectWithoutProperties(props, _excluded);
return /*#__PURE__*/jsxs("svg", _objectSpread(_objectSpread({
ref: ref,
xmlns: "http://www.w3.org/2000/svg",
width: size,
height: size,
viewBox: "0 0 24 24",
fill: color
}, otherProps), {}, {
children: [/*#__PURE__*/jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M4 8C4.55228 8 5 8.44772 5 9V21C5 21.5523 4.55228 22 4 22 3.44772 22 3 21.5523 3 21V9C3 8.44772 3.44772 8 4 8ZM4 2C4.55228 2 5 2.44772 5 3V5C5 5.55228 4.55228 6 4 6 3.44772 6 3 5.55228 3 5V3C3 2.44772 3.44772 2 4 2ZM20 11C20.5523 11 21 11.4477 21 12V21C21 21.5523 20.5523 22 20 22 19.4477 22 19 21.5523 19 21V12C19 11.4477 19.4477 11 20 11ZM20 2C20.5523 2 21 2.44772 21 3V8C21 8.55228 20.5523 9 20 9 19.4477 9 19 8.55228 19 8V3C19 2.44772 19.4477 2 20 2ZM12 15C12.5523 15 13 15.4477 13 16V21C13 21.5523 12.5523 22 12 22 11.4477 22 11 21.5523 11 21V16C11 15.4477 11.4477 15 12 15ZM12 2C12.5523 2 13 2.44772 13 3V12C13 12.5523 12.5523 13 12 13 11.4477 13 11 12.5523 11 12V3C11 2.44772 11.4477 2 12 2Z"
}), /*#__PURE__*/jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M1 9C1 8.44772 1.44772 8 2 8H6C6.55228 8 7 8.44772 7 9 7 9.55228 6.55228 10 6 10H2C1.44772 10 1 9.55228 1 9ZM9 16C9 15.4477 9.44772 15 10 15H14C14.5523 15 15 15.4477 15 16 15 16.5523 14.5523 17 14 17H10C9.44772 17 9 16.5523 9 16ZM17 12C17 11.4477 17.4477 11 18 11H22C22.5523 11 23 11.4477 23 12 23 12.5523 22.5523 13 22 13H18C17.4477 13 17 12.5523 17 12Z"
})]
}));
});
SettingsVerticalIcon.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
SettingsVerticalIcon.defaultProps = {
color: 'currentColor',
size: '24'
};
export { SettingsVerticalIcon as default };
//# sourceMappingURL=settings-vertical.js.map