diff --git a/components/TempDesignSystem/SidePeek/Content/index.tsx b/components/TempDesignSystem/SidePeek/Content/index.tsx index fd6aad425..4ac1a301e 100644 --- a/components/TempDesignSystem/SidePeek/Content/index.tsx +++ b/components/TempDesignSystem/SidePeek/Content/index.tsx @@ -5,6 +5,8 @@ import { Children, PropsWithChildren } from "react" import { CloseIcon } from "@/components/Icons" import Title from "@/components/TempDesignSystem/Text/Title" +import { SidePeekContentProps } from "./types" + import styles from "./content.module.css" export default function Content({ @@ -13,12 +15,7 @@ export default function Content({ contentKey, isActive = false, onClose, -}: PropsWithChildren<{ - title?: string - contentKey: string - isActive?: boolean - onClose?: () => void -}>) { +}: PropsWithChildren) { return isActive ? (