@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
77 lines (76 loc) • 3.22 kB
JavaScript
import React, { Component } from 'react';
import { InfoAlertIcon_defaultProps } from "./props/defaultProps";
import { InfoAlertIcon_propTypes } from "./props/propTypes";
import style from "./AlertIcons.module.css";
export default class InfoAlertIcon extends Component {
render() {
let {
variant,
type
} = this.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[`info_${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: "M51.93,46.17s-13.8-9-20.79-6.31S19.39,65.43,38.81,75.68s28.2-12.05,28.28-16S67.09,46.73,51.93,46.17Z"
}), /*#__PURE__*/React.createElement("path", {
className: style.outer_cls6,
d: "M47.87,47.66a4.9,4.9,0,1,1,4.9-4.9A4.91,4.91,0,0,1,47.87,47.66Zm0-7.8a2.9,2.9,0,1,0,2.9,2.9A2.9,2.9,0,0,0,47.87,39.86Z"
}), /*#__PURE__*/React.createElement("path", {
className: style.outer_cls6,
d: "M45,74.64h-.08a24.28,24.28,0,1,1,5.67-.13,1,1,0,0,1-.28-2,22.35,22.35,0,1,0-6.34,0L43.42,55.9a4.89,4.89,0,0,1,5.34-5l4.28.39a1,1,0,0,1,.7.39,1,1,0,0,1,.19.78l-1.64,9.64a1,1,0,0,1-2-.34l1.46-8.57-3.2-.3a2.83,2.83,0,0,0-2.24.76,2.89,2.89,0,0,0-.92,2.18L46,73.58a1,1,0,0,1-1,1.06Z"
}), /*#__PURE__*/React.createElement("ellipse", {
className: style.outer_cls6,
cx: "50.66",
cy: "65.73",
rx: "1.15",
ry: "1.13"
}));
}
}
InfoAlertIcon.propTypes = InfoAlertIcon_propTypes;
InfoAlertIcon.defaultProps = InfoAlertIcon_defaultProps;