/* render-svg.tsx generated by @compiled/babel-plugin v0.40.0 */
import "./render-svg.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import Image from '@atlaskit/image';
const imageSizeStyles = {
  xlarge: "_1bsb1lit",
  large: "_1bsb53f4",
  medium: "_1bsb1wqb"
};
export const RenderSVG = ({
  alt,
  size,
  src,
  srcDark
}) => {
  return /*#__PURE__*/React.createElement(Image, {
    src: src,
    srcDark: srcDark,
    alt: alt,
    className: ax([size && imageSizeStyles[size]])
  });
};