UNPKG

@pluralsight/ps-design-system-icon

Version:
37 lines 2.26 kB
// This file is generated by running the "icons" bin script. // Manual changes might be lost - proceed with caution! var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; }; import React, { forwardRef } from 'react'; import Icon from '..'; var EyeOffIcon = forwardRef(function (props, ref) { var ariaLabel = props["aria-label"], rest = __rest(props, ['aria-label']); return (React.createElement(Icon, __assign({}, rest, { ref: ref }), React.createElement("svg", __assign({ "aria-label": "eye off icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })), React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.648 20.868 3.632 4.852a.5.5 0 0 0-.706-.001l-.57.566-.001.001a.5.5 0 0 0 0 .707L4.19 7.96C2.79 9.19 1.69 10.74 1 12.5 2.73 16.89 7 20 12 20c1.28 0 2.5-.2 3.65-.58l2.725 2.725.002.002a.5.5 0 0 0 .707-.003l.565-.57a.5.5 0 0 0-.001-.706zM14.83 13.5A3 3 0 0 0 11 9.67l3.83 3.83zm8.17-1a11.79 11.79 0 0 1-4 5.19l-1.42-1.43a9.861 9.861 0 0 0 3.24-3.76A9.821 9.821 0 0 0 12 7c-1.09 0-2.16.18-3.16.5L7.3 5.97C8.74 5.35 10.33 5 12 5c5 0 9.27 3.11 11 7.5zM12 18c-3.76 0-7.17-2.14-8.82-5.5.6-1.22 1.43-2.28 2.42-3.13L9 12.78a3.064 3.064 0 0 0 2.72 2.72L14 17.79c-.63.14-1.31.21-2 .21z" })))); }); EyeOffIcon.displayName = "EyeOffIcon"; EyeOffIcon.colors = Icon.colors; EyeOffIcon.sizes = Icon.sizes; export { EyeOffIcon }; //# sourceMappingURL=EyeOff.dist.js.map