@pathwright/pathicons
Version:
Pathwright icons, synced from Figma to React components
44 lines (41 loc) • 2.7 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 FlipVerticalIcon = /*#__PURE__*/React.forwardRef(function FlipVerticalIcon(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: "M18 4.75 22.6 8.2C23.0418 8.53137 23.1314 9.15817 22.8 9.6 22.4686 10.0418 21.8418 10.1314 21.4 9.8L18 7.25 14.6 9.8C14.1582 10.1314 13.5314 10.0418 13.2 9.6 12.8686 9.15817 12.9582 8.53137 13.4 8.2L18 4.75ZM1.2 14.4C1.53137 13.9582 2.15817 13.8686 2.6 14.2L6 16.75 9.4 14.2C9.84183 13.8686 10.4686 13.9582 10.8 14.4 11.1314 14.8418 11.0418 15.4686 10.6 15.8L6 19.25 1.4 15.8C.95817 15.4686.868627 14.8418 1.2 14.4Z"
}), /*#__PURE__*/jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M5 8C5 4.68772 7.68772 2 11 2 11.5523 2 12 2.44772 12 3 12 3.55228 11.5523 4 11 4 8.79228 4 7 5.79228 7 8V18C7 18.5523 6.55228 19 6 19 5.44772 19 5 18.5523 5 18V8ZM18 5C18.5523 5 19 5.44772 19 6V16C19 19.3123 16.3123 22 13 22 12.4477 22 12 21.5523 12 21 12 20.4477 12.4477 20 13 20 15.2077 20 17 18.2077 17 16V6C17 5.44772 17.4477 5 18 5Z"
})]
}));
});
FlipVerticalIcon.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
FlipVerticalIcon.defaultProps = {
color: 'currentColor',
size: '24'
};
export { FlipVerticalIcon as default };
//# sourceMappingURL=flip-vertical.js.map