"use client"; /* * Documentation: * Dialog Fullscreen — https://app.subframe.com/f023064a5ca0/library?component=Dialog+Fullscreen_3f094173-71de-4378-a09a-05c482f7a137 * Icon Button — https://app.subframe.com/f023064a5ca0/library?component=Icon+Button_af9405b1-8c54-4e01-9786-5aad308224f6 */ import React from "react"; import { FeatherX } from "@subframe/core"; import * as SubframeCore from "@subframe/core"; import * as SubframeUtils from "../../utils"; import { IconButton } from "../IconButton"; export interface DialogFullscreenRootProps extends React.ComponentProps { children?: React.ReactNode; padding?: "default" | "spacious"; hideCloseIcon?: boolean; open?: boolean; onOpenChange?: (open: boolean) => void; className?: string; } const DialogFullscreenRoot = React.forwardRef< HTMLDivElement, DialogFullscreenRootProps >(function DialogFullscreenRoot( { children, padding = "default", hideCloseIcon = false, className, ...otherProps }: DialogFullscreenRootProps, ref ) { return (
{children ? (
{children}
) : null} } />
); }); export const DialogFullscreen = DialogFullscreenRoot;