"use client"; /* * Documentation: * Drawer — https://app.subframe.com/f023064a5ca0/library?component=Drawer_1e71b2cb-8d72-4e67-b368-8805179e9444 * Drawer Layout — https://app.subframe.com/f023064a5ca0/library?component=Drawer+Layout_2f6803ed-5ed0-4934-b093-a1a46df2d1d1 */ import React from "react"; import { Drawer } from "../../components/Drawer"; import * as SubframeUtils from "../../utils"; export interface DrawerLayoutRootProps extends React.ComponentProps { children?: React.ReactNode; className?: string; } const DrawerLayoutRoot = React.forwardRef< React.ElementRef, DrawerLayoutRootProps >(function DrawerLayoutRoot( { children, className, ...otherProps }: DrawerLayoutRootProps, ref ) { return ( {children ? (
{children}
) : null}
); }); export const DrawerLayout = DrawerLayoutRoot;