box-ui-elements-mlh
Version:
33 lines (31 loc) • 1.33 kB
JavaScript
import * as React from 'react';
import { bdlBoxBlue } from '../../styles/variables';
import AccessibleSVG from '../accessible-svg';
var InfoBadge = function InfoBadge(_ref) {
var _ref$className = _ref.className,
className = _ref$className === void 0 ? '' : _ref$className,
_ref$color = _ref.color,
color = _ref$color === void 0 ? bdlBoxBlue : _ref$color,
_ref$height = _ref.height,
height = _ref$height === void 0 ? 16 : _ref$height,
title = _ref.title,
_ref$width = _ref.width,
width = _ref$width === void 0 ? 16 : _ref$width;
return /*#__PURE__*/React.createElement(AccessibleSVG, {
className: "info-badge ".concat(className),
height: height,
title: title,
viewBox: "0 0 16 16",
width: width
}, /*#__PURE__*/React.createElement("path", {
className: "fill-color",
d: "M15 8c0-3.9-3.1-7-7-7S1 4.1 1 8s3.1 7 7 7 7-3.1 7-7zM0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
className: "fill-color",
d: "M9 5c0-.6-.4-1-1-1s-1 .4-1 1 .4 1 1 1 1-.4 1-1zM6 5c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zM7 12h2V9H7v3zm0-4h2c.6 0 1 .4 1 1v3c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9c0-.6.4-1 1-1z",
fill: color
}));
};
export default InfoBadge;
//# sourceMappingURL=InfoBadge.js.map