import { ImgHTMLAttributes } from 'react'
export type ImageProps = Omit, 'children'>
export const Image = ({ src, ...props }: ImageProps) => {
// If the URL is internal, automatically prepend the base path
if (src?.startsWith('/')) {
src = `${process.env.BASE_PATH}${src}`
}
return
}