@cimpress/react-components
Version:
React components to support the MCP styleguide
31 lines • 2.06 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const React = __importStar(require("react"));
const colors_1 = require("../colors");
const WarningSvg = (props) => (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", color: colors_1.white }, props),
React.createElement("path", { d: "M23.759 20.784 13.874 1.177A2.106 2.106 0 0 0 12 0c-.787 0-1.509.453-1.874 1.177L.24 20.784a2.27 2.27 0 0 0 .065 2.157A2.1 2.1 0 0 0 2.115 24h19.769a2.1 2.1 0 0 0 1.81-1.06 2.27 2.27 0 0 0 .064-2.156zM10.942 8.067c0-.606.474-1.098 1.058-1.098.584 0 1.058.492 1.058 1.098v6.591c0 .607-.474 1.098-1.058 1.098-.584 0-1.058-.491-1.058-1.098v-6.59zm1.11 12.643h-.029c-.866-.003-1.576-.715-1.61-1.614a1.657 1.657 0 0 1 .427-1.174 1.535 1.535 0 0 1 1.105-.507h.03c.866.001 1.577.712 1.611 1.611a1.66 1.66 0 0 1-.425 1.178 1.53 1.53 0 0 1-1.108.506z" })));
exports.default = WarningSvg;
//# sourceMappingURL=WarningSvg.js.map