UNPKG

@zohodesk/dot

Version:

In this Library, we Provide Some Basic Components to Build Your Application

65 lines 2.92 kB
import React from 'react'; import { SuccessAlertIcon_defaultProps } from "./props/defaultProps"; import { SuccessAlertIcon_propTypes } from "./props/propTypes"; import style from "../../../version2/alertIcons/AlertIcons.module.css"; export default function SuccessAlertIcon(props) { let { variant, type } = props; return /*#__PURE__*/React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 100 100", className: type ? `${style[type]}` : '' }, /*#__PURE__*/React.createElement("path", { className: `${style[`success_${variant}`]}`, d: "M34.89,23.86s27.19-17.79,41-12.44S99,61.81,60.74,82,5.16,58.27,5,50.48C4.87,42.94,5,25,34.89,23.86Z" }), /*#__PURE__*/React.createElement("polygon", { className: style.outer_cls2, points: "95 49.42 94.18 48.61 92.98 49.79 91.79 48.61 90.97 49.42 92.16 50.6 90.97 51.78 91.79 52.59 92.98 51.41 94.18 52.59 95 51.78 93.81 50.6 95 49.42" }), /*#__PURE__*/React.createElement("rect", { className: style.outer_cls2, x: "10", y: "21.46", width: "1.16", height: "2.18" }), /*#__PURE__*/React.createElement("rect", { className: style.outer_cls2, x: "11.8", y: "24.27", width: "2.21", height: "1.15" }), /*#__PURE__*/React.createElement("rect", { className: style.outer_cls2, x: "10", y: "26.05", width: "1.16", height: "2.18" }), /*#__PURE__*/React.createElement("rect", { className: style.outer_cls2, x: "7.15", y: "24.27", width: "2.21", height: "1.15" }), /*#__PURE__*/React.createElement("path", { className: style.outer_cls3, d: "M11.8,82.6a2.76,2.76,0,1,1,2.8-2.76A2.78,2.78,0,0,1,11.8,82.6Zm0-4.37a1.61,1.61,0,1,0,1.63,1.61A1.62,1.62,0,0,0,11.8,78.23Z" }), /*#__PURE__*/React.createElement("ellipse", { className: style.outer_cls4, cx: "50.21", cy: "11.21", rx: "1.22", ry: "1.21" }), /*#__PURE__*/React.createElement("polygon", { className: style.outer_cls4, points: "59.77 90 61.8 87.28 63.69 90 59.77 90" }), /*#__PURE__*/React.createElement("path", { className: style.outer_cls5, d: "M53.32,43.16s-13.79-9-20.78-6.31S20.79,62.42,40.21,72.67s28.2-12.05,28.27-16S68.48,43.72,53.32,43.16Z" }), /*#__PURE__*/React.createElement("path", { className: style.outer_cls6, d: "M46.5,72.63A23.22,23.22,0,0,1,23.67,54,22.56,22.56,0,0,1,27.2,36.88,23.42,23.42,0,0,1,65,35.77a1,1,0,0,1-.08,1.32l-18.05,18a1,1,0,0,1-1.29.1l-10.7-7.71a1,1,0,0,1,1.17-1.63l10,7.22L62.88,36.31a21.43,21.43,0,0,0-34,1.7,20.59,20.59,0,0,0-3.22,15.58,21.35,21.35,0,0,0,38.53,7.74,20.59,20.59,0,0,0,3.22-15.58,1,1,0,0,1,.79-1.18,1,1,0,0,1,1.17.8,22.52,22.52,0,0,1-3.53,17.09,23.13,23.13,0,0,1-15,9.76A24,24,0,0,1,46.5,72.63ZM67.31,41a1,1,0,1,0,1,1A1,1,0,0,0,67.31,41Z" })); } SuccessAlertIcon.propTypes = SuccessAlertIcon_propTypes; SuccessAlertIcon.defaultProps = SuccessAlertIcon_defaultProps;