"use client"; /* * Documentation: * Modal Blank — https://app.subframe.com/f023064a5ca0/library?component=Modal+Blank_ca59db17-43fb-4247-8094-3c55162e902d */ import React from "react"; import * as SubframeCore from "@subframe/core"; import * as SubframeUtils from "../../utils"; export interface ContentProps extends React.ComponentProps { children?: React.ReactNode; className?: string; } const Content = React.forwardRef(function Content( { children, className, ...otherProps }: ContentProps, ref ) { return children ? (
{children}
) : null; }); export interface ModalBlankRootProps extends React.ComponentProps { children?: React.ReactNode; open?: boolean; onOpenChange?: (open: boolean) => void; className?: string; } const ModalBlankRoot = React.forwardRef( function ModalBlankRoot( { children, className, ...otherProps }: ModalBlankRootProps, ref ) { return children ? (
{children}
) : null; } ); export const ModalBlank = Object.assign(ModalBlankRoot, { Content, });