@pluralsight/ps-design-system-icon
Version:
Design System component for icon ui
37 lines • 2.33 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 ClockWarningIcon = 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": "clock warning icon", viewBox: "0 0 24 24", role: 'img' }, (ariaLabel && { 'aria-label': ariaLabel })),
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.703 9.837c.194.688.297 1.414.297 2.163 0 4.411-3.589 8-8 8s-8-3.589-8-8 3.589-8 8-8c.75 0 1.475.103 2.163.297a4.49 4.49 0 0 1 .978-1.792A9.96 9.96 0 0 0 12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10a9.963 9.963 0 0 0-.505-3.141 4.492 4.492 0 0 1-1.792.978zM18.5 9a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zm-6.987-2h1a.5.5 0 0 1 .5.5v4.078l2.9 2.9a.5.5 0 0 1 0 .706l-.707.708a.5.5 0 0 1-.708 0l-3.485-3.486V7.5a.5.5 0 0 1 .5-.5zM18 3.75a.25.25 0 0 1 .25-.25h.5a.25.25 0 0 1 .25.25v2a.25.25 0 0 1-.25.25h-.5a.25.25 0 0 1-.25-.25v-2zm1.13 3.375a.625.625 0 1 1-1.25 0 .625.625 0 0 1 1.25 0z" }))));
});
ClockWarningIcon.displayName = "ClockWarningIcon";
ClockWarningIcon.colors = Icon.colors;
ClockWarningIcon.sizes = Icon.sizes;
export { ClockWarningIcon };
//# sourceMappingURL=ClockWarning.dist.js.map