@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
37 lines • 2.29 kB
JavaScript
// 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 ObjectiveIcon = 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": "objective icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M23.23 1.783a.25.25 0 0 1 0 .358l-4.023 3.926 2.353 2.297a.25.25 0 0 1-.174.429H15.25a.25.25 0 0 1-.25-.25V2.555a.25.25 0 0 1 .425-.179l2.368 2.311L21.825.752a.25.25 0 0 1 .35 0l1.056 1.031zM12 12.696c-.553 0-1-.438-1-.976 0-.54.447-.976 1-.976.553 0 1 .436 1 .976a.988.988 0 0 1-1 .976zm-3-.976c0-1.614 1.346-2.927 3-2.927V6.84c-2.757 0-5 2.189-5 4.879 0 2.69 2.243 4.88 5 4.88s5-2.19 5-4.88h-2c0 1.614-1.346 2.928-3 2.928s-3-1.314-3-2.928zm-4 0c0 3.767 3.14 6.83 7 6.83s7-3.063 7-6.83h2c0 4.843-4.037 8.783-9 8.783s-9-3.94-9-8.783 4.037-8.782 9-8.782v1.951c-3.86 0-7 3.064-7 6.831z" }))));
});
ObjectiveIcon.displayName = "ObjectiveIcon";
ObjectiveIcon.colors = Icon.colors;
ObjectiveIcon.sizes = Icon.sizes;
export { ObjectiveIcon };
//# sourceMappingURL=Objective.dist.js.map