@cimpress/react-components
Version:
React components to support the MCP styleguide
53 lines • 3 kB
JavaScript
"use strict";
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 });
exports.SmallIcon = SmallIcon;
exports.MediumIcon = MediumIcon;
exports.LargeIcon = LargeIcon;
const React = __importStar(require("react"));
function SmallIcon(props) {
return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 96 96" }, props),
React.createElement("rect", { width: 26.667, height: 26.667, rx: 5 }),
React.createElement("rect", { width: 26.667, height: 26.667, x: 34.667, rx: 5 }),
React.createElement("rect", { width: 26.667, height: 26.667, x: 69.333, rx: 5 }),
React.createElement("rect", { width: 26.667, height: 26.667, y: 34.667, rx: 5 }),
React.createElement("rect", { width: 26.667, height: 26.667, x: 34.667, y: 34.667, rx: 5 }),
React.createElement("rect", { width: 26.667, height: 26.667, x: 69.333, y: 34.667, rx: 5 }),
React.createElement("rect", { width: 26.667, height: 26.667, y: 69.333, rx: 5 }),
React.createElement("rect", { width: 26.667, height: 26.667, x: 34.667, y: 69.333, rx: 5 }),
React.createElement("rect", { width: 26.667, height: 26.667, x: 69.333, y: 69.333, rx: 5 })));
}
function MediumIcon(props) {
return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 96 96" }, props),
React.createElement("rect", { width: 96, height: 44, rx: 5 }),
React.createElement("rect", { width: 96, height: 44, y: 52, rx: 5 })));
}
function LargeIcon(props) {
return (React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 96 96" }, props),
React.createElement("rect", { width: 96, height: 20, rx: 5 }),
React.createElement("rect", { width: 33, height: 68, y: 28, rx: 5 }),
React.createElement("rect", { width: 55, height: 76.662, x: 41, y: 28, rx: 5 })));
}
//# sourceMappingURL=icons.js.map