UNPKG

beehively-icons

Version:
29 lines 2.92 kB
var _excluded = ["color", "size"]; 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); } function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } import React, { forwardRef } from 'react'; import PropTypes from 'prop-types'; var Filters = /*#__PURE__*/forwardRef(function (_ref, ref) { var _ref$color = _ref.color, color = _ref$color === void 0 ? 'currentColor' : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties(_ref, _excluded); return /*#__PURE__*/React.createElement("svg", _extends({ ref: ref, xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: color }, rest), /*#__PURE__*/React.createElement("path", { d: "M20.172,0H7.828c-2.11,0-3.828,1.717-3.828,3.829,0,1.022,.398,1.983,1.121,2.707l5.879,5.878v3.586c0,.315,.148,.611,.4,.8l4,3c.176,.132,.388,.2,.6,.2,.152,0,.306-.035,.447-.105,.339-.169,.553-.516,.553-.895v-6.586l5.879-5.879c.723-.723,1.121-1.685,1.121-2.707,0-2.111-1.718-3.829-3.828-3.829Zm1.293,5.122l-6.172,6.171c-.188,.188-.293,.442-.293,.707v5l-2-1.5v-3.5c0-.265-.105-.52-.293-.707L6.535,5.122c-.345-.346-.535-.805-.535-1.293,0-1.008,.82-1.829,1.828-1.829h12.344c1.008,0,1.828,.82,1.828,1.829,0,.488-.19,.948-.535,1.293Zm-8.465,15.878v2c0,.379-.214,.725-.553,.895-.142,.071-.295,.105-.447,.105-.212,0-.424-.068-.6-.2l-4-3c-.252-.188-.4-.485-.4-.8v-3.586L1.121,10.536c-.723-.724-1.121-1.685-1.121-2.707,0-1.126,.493-2.19,1.353-2.92,.423-.358,1.053-.306,1.41,.115,.357,.421,.306,1.052-.115,1.41-.411,.349-.647,.858-.647,1.396,0,.488,.19,.948,.535,1.293l6.172,6.171c.188,.188,.293,.442,.293,.707v3.5l2,1.5c0-.552,.447-1,1-1s1,.448,1,1Z" })); }); Filters.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; Filters.displayName = 'Filters'; export default Filters;