UNPKG

beehively-icons

Version:
29 lines 2.62 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 PenNib = /*#__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: "m23.707,7.293c-.391-.391-1.023-.391-1.414,0l-2.293,2.293-5.586-5.586,2.293-2.293c.391-.391.391-1.023,0-1.414s-1.023-.391-1.414,0l-2.845,2.845-5.863,2.169c-1.488.551-2.637,1.791-3.073,3.317L.111,20.545c-.278.946-.018,1.967.68,2.664.513.514,1.202.79,1.904.79.251,0,.504-.035.751-.108l11.884-3.377c1.521-.432,2.76-1.574,3.315-3.054l2.215-5.907,2.846-2.846c.391-.391.391-1.023,0-1.414Zm-6.935,9.465c-.333.888-1.076,1.573-1.989,1.833l-11.12,3.16,5.818-5.818c.165.044.339.068.518.068,1.105,0,2-.895,2-2s-.895-2-2-2-2,.895-2,2c0,.179.024.353.068.518l-5.817,5.817,3.184-11.161c.262-.916.951-1.66,1.844-1.991l5.467-2.023,6.091,6.091-2.065,5.506Z" })); }); PenNib.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; PenNib.displayName = 'PenNib'; export default PenNib;