import {Tabs, Tab} from "@/components/react/tabs" import { Frame } from "@/components/react/frame" export function ImageAndCode({ preview, children, id }: { preview: string | React.ReactNode; children: React.ReactNode, id: string }) { return ( {typeof preview === "string" ? : preview } {children} ) }