import React from 'react';
export const SvgIcon = ({ src, alt = '', size, width, height, className, style, }) => {
    const resolvedWidth = width !== null && width !== void 0 ? width : size;
    const resolvedHeight = height !== null && height !== void 0 ? height : size;
    return (React.createElement("img", { src: src, alt: alt, width: resolvedWidth, height: resolvedHeight, className: className, style: style }));
};
export default SvgIcon;
//# sourceMappingURL=SvgIcon.js.map