fix(SW-96): use import type

This commit is contained in:
Chuma McPhoy
2024-08-26 13:24:19 +02:00
parent bef58ab0a3
commit 879e89cf61
6 changed files with 6 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ import Caption from "@/components/TempDesignSystem/Text/Caption"
import styles from "./Lightbox.module.css"
import { FullViewProps } from "@/types/components/lightbox/lightbox"
import type { FullViewProps } from "@/types/components/lightbox/lightbox"
export default function FullView({
image,

View File

@@ -10,7 +10,7 @@ import Caption from "@/components/TempDesignSystem/Text/Caption"
import styles from "./Lightbox.module.css"
import { GalleryProps } from "@/types/components/lightbox/lightbox"
import type { GalleryProps } from "@/types/components/lightbox/lightbox"
export default function Gallery({
images,

View File

@@ -8,7 +8,7 @@ import Gallery from "./Gallery"
import styles from "./Lightbox.module.css"
import { LightboxProps } from "@/types/components/lightbox/lightbox"
import type { LightboxProps } from "@/types/components/lightbox/lightbox"
export default function Lightbox({ images, children }: LightboxProps) {
const [isOpen, setIsOpen] = useState(false)