"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.IconWithImage = void 0;
const react_1 = __importDefault(require("react"));
const index_styled_1 = require("./index.styled");
const IconWithImage = ({ srcPath, width, height }) => {
    return (react_1.default.createElement(index_styled_1.IconWrapper, { width: width, height: height || width, src: `${srcPath}.png`, srcSet: `${srcPath}@2x.png 2x, ${srcPath}@3x.png 3x` }));
};
exports.IconWithImage = IconWithImage;
