You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213
  1. /**
  2. * @fileoverview Img component for rendering <img> tags in Markdown.
  3. * Extracted from the main markdown renderer for modularity.
  4. * Uses the ImageGallery component to display images.
  5. */
  6. import React from 'react'
  7. import ImageGallery from '@/app/components/base/image-gallery'
  8. const Img = ({ src }: any) => {
  9. return <div className="markdown-img-wrapper"><ImageGallery srcs={[src]} /></div>
  10. }
  11. export default Img