chore: type reorg

This commit is contained in:
Chuma McPhoy
2024-07-12 15:17:11 +02:00
parent f43de03d7a
commit f83f1a66b5
3 changed files with 9 additions and 6 deletions

View File

@@ -3,16 +3,15 @@
import { Children, cloneElement, PropsWithChildren } from "react"
import { Dialog, DialogTrigger, Modal } from "react-aria-components"
import { SidePeekProps } from "./types"
import styles from "./sidePeek.module.css"
export default function SidePeek({
children,
onClose,
activeContent,
}: PropsWithChildren<{
onClose: (isOpen: boolean) => void
activeContent: string | null
}>) {
}: PropsWithChildren<SidePeekProps>) {
return (
<DialogTrigger>
<Modal