Parcourir la source

add option to lightbox

WNomunomu il y a 2 ans
Parent
commit
822fb6cef8
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      apps/app/src/components/ReactMarkdownComponents/LightBox.tsx

+ 1 - 0
apps/app/src/components/ReactMarkdownComponents/LightBox.tsx

@@ -10,6 +10,7 @@ export const LightBox = (props) => {
       <FsLightbox
         toggler={toggler}
         sources={[props.src]}
+        type='image'
       />
     </>
   );