UNPKG

@activecollab/components

Version:

ActiveCollab Components

46 lines (45 loc) 2 kB
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; const _excluded = ["gradient"]; import React from "react"; import { GradientDefs } from "../../GradientDefs"; /** * @component CloudDeployFailedIcon * @description * Outline cloud glyph with an X through the bottom for failed * deploy/upload-to-cloud signifiers. The cloud's bottom edge has a cutout so * it does not intersect the X. * * @prop {string} [gradient] - Optional CSS linear-gradient string applied to the stroke. * * @see https://design.activecollab.com/docs/foundations/icons */ const CloudDeployFailedIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => { let gradient = _ref.gradient, props = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement("svg", _extends({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", "data-testid": "CloudDeployFailedIcon", fill: "none", stroke: gradient ? "url(#icon-gradient)" : props != null && props.stroke ? props.stroke : "var(--color-theme-600)", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", focusable: false, ref: ref }, props), /*#__PURE__*/React.createElement(GradientDefs, { gradient: gradient }), /*#__PURE__*/React.createElement("path", { d: "M6.657 18c-2.572 0 -4.657 -2.007 -4.657 -4.483c0 -2.475 2.085 -4.482 4.657 -4.482c.393 -1.762 1.794 -3.2 3.675 -3.773c1.88 -.572 3.956 -.193 5.444 1c1.488 1.19 2.162 3.007 1.77 4.769h.99c1.913 0 3.464 1.56 3.464 3.486c0 1.927 -1.551 3.487 -3.465 3.487h-1.535M7 18h-0.343" }), /*#__PURE__*/React.createElement("path", { d: "M9.5 15.5l5 5" }), /*#__PURE__*/React.createElement("path", { d: "M14.5 15.5l-5 5" })); }); CloudDeployFailedIcon.displayName = "CloudDeployFailedIcon"; export default CloudDeployFailedIcon; //# sourceMappingURL=CloudDeployFailed.js.map