UNPKG

@pluralsight/ps-design-system-icon

Version:
37 lines 2.4 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 CloseCaptionedIcon = 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": "close captioned icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })), React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22 3H2a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm-1 2H3v14h18V5zM8.524 16.132c1.485 0 2.365-.528 3.157-1.375l-1.078-1.089c-.605.55-1.144.902-2.024.902-1.32 0-2.233-1.1-2.233-2.42 0-1.342.935-2.42 2.233-2.42.77 0 1.375.33 1.969.869l1.078-1.243c-.715-.704-1.584-1.188-3.036-1.188-2.365 0-4.015 1.793-4.015 3.982 0 2.233 1.683 3.982 3.949 3.982zm11.055-1.375c-.792.847-1.672 1.375-3.157 1.375-2.266 0-3.949-1.75-3.949-3.982 0-2.19 1.65-3.982 4.015-3.982 1.452 0 2.321.484 3.036 1.188l-1.078 1.243c-.594-.54-1.199-.869-1.969-.869-1.298 0-2.233 1.078-2.233 2.42 0 1.32.913 2.42 2.233 2.42.88 0 1.419-.352 2.024-.902l1.078 1.089z" })))); }); CloseCaptionedIcon.displayName = "CloseCaptionedIcon"; CloseCaptionedIcon.colors = Icon.colors; CloseCaptionedIcon.sizes = Icon.sizes; export { CloseCaptionedIcon }; //# sourceMappingURL=CloseCaptioned.dist.js.map