feat: support for video events
This commit is contained in:
parent
d6a5a82cf8
commit
6b88da3f03
28 changed files with 116 additions and 72 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { randomString } from '@/lib/random'
|
||||
import { cn } from '@/lib/utils'
|
||||
import modalManager from '@/services/modal-manager.service'
|
||||
import { TImageInfo } from '@/types'
|
||||
import { TImetaInfo } from '@/types'
|
||||
import { ReactNode, useEffect, useMemo, useState } from 'react'
|
||||
import { createPortal } from 'react-dom'
|
||||
import Lightbox from 'yet-another-react-lightbox'
|
||||
|
|
@ -15,7 +15,7 @@ export default function ImageGallery({
|
|||
end = images.length
|
||||
}: {
|
||||
className?: string
|
||||
images: TImageInfo[]
|
||||
images: TImetaInfo[]
|
||||
start?: number
|
||||
end?: number
|
||||
}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue