import React from 'react' import LmImage from './Image' import ImageSvg from './ImageSvg' import { LmImageProps } from './imageTypes' export function LmImageElement({ content, onClick }: LmImageProps): JSX.Element { const isSvgImage = content.source?.endsWith('.svg') const containerProps: Partial = {} if (onClick) { containerProps.onClick = () => onClick() } if (isSvgImage) { return } return }