UNPKG

@pathwright/pathicons

Version:

Pathwright icons, synced from Figma to React components

40 lines (37 loc) 2.47 kB
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 ImageGalleryIcon = /*#__PURE__*/React.forwardRef(function ImageGalleryIcon(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", { d: "M17 1H7C4.79 1 3 2.79 3 5V15C3 17.21 4.79 19 7 19H17C19.21 19 21 17.21 21 15V5C21 2.79 19.21 1 17 1ZM19 15C19 15.55 18.78 16.05 18.41 16.41L15 13L13 15L8 8L5 11V5C5 3.9 5.9 3 7 3H17C18.1 3 19 3.9 19 5V15Z" }), /*#__PURE__*/jsx("path", { d: "M15.5 9C16.8807 9 18 7.88071 18 6.5 18 5.11929 16.8807 4 15.5 4 14.1193 4 13 5.11929 13 6.5 13 7.88071 14.1193 9 15.5 9ZM7 21H5C4.45 21 4 21.45 4 22 4 22.55 4.45 23 5 23H7C7.55 23 8 22.55 8 22 8 21.45 7.55 21 7 21ZM19 21H17C16.45 21 16 21.45 16 22 16 22.55 16.45 23 17 23H19C19.55 23 20 22.55 20 22 20 21.45 19.55 21 19 21ZM13 21H11C10.45 21 10 21.45 10 22 10 22.55 10.45 23 11 23H13C13.55 23 14 22.55 14 22 14 21.45 13.55 21 13 21Z" })] })); }); ImageGalleryIcon.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; ImageGalleryIcon.defaultProps = { color: 'currentColor', size: '24' }; export { ImageGalleryIcon as default }; //# sourceMappingURL=image-gallery.js.map