UNPKG

@pathwright/pathicons

Version:

Pathwright icons, synced from Figma to React components

40 lines (37 loc) 2.66 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 { 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 AssessmentIcon = /*#__PURE__*/React.forwardRef(function AssessmentIcon(props, ref) { var color = props.color, size = props.size, otherProps = _objectWithoutProperties(props, _excluded); return /*#__PURE__*/jsx("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: "M14 3C14 2.44772 14.4477 2 15 2H20C20.5523 2 21 2.44772 21 3 21 3.55228 20.5523 4 20 4H15C14.4477 4 14 3.55228 14 3ZM10.7071 8.29289C11.0976 8.68342 11.0976 9.31658 10.7071 9.70711L6 14.4142 3.29289 11.7071C2.90237 11.3166 2.90237 10.6834 3.29289 10.2929 3.68342 9.90237 4.31658 9.90237 4.70711 10.2929L6 11.5858 9.29289 8.29289C9.68342 7.90237 10.3166 7.90237 10.7071 8.29289ZM14 12C14 11.4477 14.4477 11 15 11H20C20.5523 11 21 11.4477 21 12 21 12.5523 20.5523 13 20 13H15C14.4477 13 14 12.5523 14 12ZM14 21C14 20.4477 14.4477 20 15 20H20C20.5523 20 21 20.4477 21 21 21 21.5523 20.5523 22 20 22H15C14.4477 22 14 21.5523 14 21ZM4 3C4 1.89543 4.89543 1 6 1 7.10457 1 8 1.89543 8 3 8 4.10457 7.10457 5 6 5 4.89543 5 4 4.10457 4 3ZM4 21C4 19.8954 4.89543 19 6 19 7.10457 19 8 19.8954 8 21 8 22.1046 7.10457 23 6 23 4.89543 23 4 22.1046 4 21Z" }) })); }); AssessmentIcon.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; AssessmentIcon.defaultProps = { color: 'currentColor', size: '24' }; export { AssessmentIcon as default }; //# sourceMappingURL=assessment.js.map