@cimpress/react-components
Version:
React components to support the MCP styleguide
31 lines • 1.77 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 CloseSvg = (props) => (React.createElement("svg", Object.assign({ width: "16px", height: "16px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", color: colors_1.slate }, props),
React.createElement("path", { d: "M14.3 12l9.2-9.2c.3-.4.5-.8.5-1.2 0-.4-.2-.8-.5-1.1-.6-.6-1.7-.6-2.3 0L12 9.7 2.8.5C2.2-.1 1.1-.1.5.5.2.8 0 1.2 0 1.6s.2.8.5 1.1L9.7 12 .5 21.2c-.6.6-.6 1.7 0 2.3.6.6 1.7.6 2.3 0l9.2-9.2 9.2 9.2c.3.3.7.5 1.1.5.4 0 .8-.2 1.1-.5.6-.6.6-1.7 0-2.3L14.3 12z" })));
exports.default = CloseSvg;
//# sourceMappingURL=CloseSvg.js.map