"use client"; /* * Documentation: * Fullscreen Dialog — https://app.subframe.com/f023064a5ca0/library?component=Fullscreen+Dialog_3f094173-71de-4378-a09a-05c482f7a137 */ import React from "react"; import * as SubframeCore from "@subframe/core"; import * as SubframeUtils from "../../utils"; export interface FullscreenDialogRootProps extends React.ComponentProps { children?: React.ReactNode; open?: boolean; onOpenChange?: (open: boolean) => void; className?: string; } const FullscreenDialogRoot = React.forwardRef< HTMLDivElement, FullscreenDialogRootProps >(function FullscreenDialogRoot( { children, className, ...otherProps }: FullscreenDialogRootProps, ref ) { return children ? (
{children}
) : null; }); export const FullscreenDialog = FullscreenDialogRoot;