UNPKG

react-aws-icons

Version:

A collection of AWS Simple Icons to be used with React

291 lines (281 loc) 8.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } var AWSIcon = function AWSIcon(props) { var size = props.size, otherProps = _objectWithoutProperties(props, ["size"]); return (// -- START of generated SVG source. _react.default.createElement("svg", _extends({ xmlns: "http://www.w3.org/2000/svg", width: size, size: size }, otherProps, { height: size, viewBox: "0 0 100 100" }), _react.default.createElement("defs", null), _react.default.createElement("title", null, "Cart"), _react.default.createElement("rect", { style: { "fill": "#19486f" }, x: "23.5", y: "25.99", width: "53", height: "53", rx: "9.12", ry: "9.12" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "23.5", y: "23.51", width: "53", height: "53", rx: "9.12", ry: "9.12" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "60", y: "14.4", width: "4", height: "13.65" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "36", y: "14.4", width: "4", height: "13.65" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "54", y: "14.4", width: "4", height: "13.65" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "42", y: "14.4", width: "4", height: "13.65" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "48", y: "14.4", width: "4", height: "13.65" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "14.4", y: "60", width: "18.1", height: "4" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "14.4", y: "42", width: "18.1", height: "4" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "14.4", y: "54", width: "18.1", height: "4" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "14.4", y: "48", width: "18.1", height: "4" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "14.4", y: "36", width: "18.1", height: "4" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "36", y: "69.88", width: "4", height: "15.72" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "60", y: "69.88", width: "4", height: "15.72" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "42", y: "69.88", width: "4", height: "15.72" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "54", y: "69.88", width: "4", height: "15.72" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "48", y: "69.88", width: "4", height: "15.72" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "69.67", y: "54", width: "15.94", height: "4" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "69.67", y: "36", width: "15.94", height: "4" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "69.67", y: "48", width: "15.94", height: "4" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "69.67", y: "42", width: "15.94", height: "4" }), _react.default.createElement("rect", { style: { "fill": "#2e73b8" }, x: "69.67", y: "60", width: "15.94", height: "4" }), _react.default.createElement("path", { style: { "fill": "#fff" }, d: "M58.47,58.63,34.82,56.56a1.2,1.2,0,0,1-1.07-1L31.53,43.23a1.2,1.2,0,0,1,1.05-1.4l29.5-3.07a1.2,1.2,0,0,1,1.29,1.43L59.75,57.68A1.2,1.2,0,0,1,58.47,58.63Z" }), _react.default.createElement("circle", { style: { "fill": "#fff" }, cx: "35.96", cy: "69.05", r: "3.1" }), _react.default.createElement("circle", { style: { "fill": "#fff" }, cx: "62.22", cy: "69.05", r: "3.1" }), _react.default.createElement("path", { style: { "fill": "#2e73b8" }, d: "M35.81,61.45a.5.5,0,0,1-.5-.5V38.76a.5.5,0,0,1,1,0V60.95A.5.5,0,0,1,35.81,61.45Z" }), _react.default.createElement("path", { style: { "fill": "#2e73b8" }, d: "M40.86,61.45a.5.5,0,0,1-.5-.5V38.76a.5.5,0,0,1,1,0V60.95A.5.5,0,0,1,40.86,61.45Z" }), _react.default.createElement("path", { style: { "fill": "#2e73b8" }, d: "M45.91,61.45a.5.5,0,0,1-.5-.5V38.76a.5.5,0,0,1,1,0V60.95A.5.5,0,0,1,45.91,61.45Z" }), _react.default.createElement("path", { style: { "fill": "#2e73b8" }, d: "M71.75,44.75H28.6a.5.5,0,0,1,0-1H71.75a.5.5,0,0,1,0,1Z" }), _react.default.createElement("path", { style: { "fill": "#2e73b8" }, d: "M71.75,49.43H28.6a.5.5,0,1,1,0-1H71.75a.5.5,0,0,1,0,1Z" }), _react.default.createElement("path", { style: { "fill": "#2e73b8" }, d: "M71.75,54.11H28.6a.5.5,0,0,1,0-1H71.75a.5.5,0,0,1,0,1Z" }), _react.default.createElement("path", { style: { "fill": "#2e73b8" }, d: "M51,61.45a.5.5,0,0,1-.5-.5V38.76a.5.5,0,0,1,1,0V60.95A.5.5,0,0,1,51,61.45Z" }), _react.default.createElement("path", { style: { "fill": "#2e73b8" }, d: "M56,60.86a.5.5,0,0,1-.5-.5V38.8a.5.5,0,0,1,1,0V60.36A.5.5,0,0,1,56,60.86Z" }), _react.default.createElement("path", { style: { "fill": "#fff" }, d: "M63.25,65H34.75a1.5,1.5,0,0,1,0-3h25.5l-3.09-4.12a1.5,1.5,0,0,1-.27-1.21L62,32.09a1.5,1.5,0,0,1,.93-1.1l5.78-2.21a1.5,1.5,0,1,1,1.07,2.8l-5,1.91L60,56.65l4.48,6a1.5,1.5,0,0,1-1.2,2.4Z" }), _react.default.createElement("path", { style: { "fill": "#fff" }, d: "M59,59.51l-24.3-1.45a2.71,2.71,0,0,1-2.46-2.21L30.05,43.5a2.7,2.7,0,0,1,2.38-3.16l29.5-3.07.31,3-29.17,3,2.11,11.79,24,1.44Z" })) // -- END of generated content. ); }; AWSIcon.propTypes = { size: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]) }; AWSIcon.defaultProps = { size: 24 }; var _default = AWSIcon; exports.default = _default;