"use client"; /* * Documentation: * Banner Offline — https://app.subframe.com/f023064a5ca0/library?component=Banner+Offline_2582cb6e-0176-4a5c-b70f-c3bef3c7001d */ import React from "react"; import * as SubframeUtils from "../../utils"; export interface BannerOfflineRootProps extends React.HTMLAttributes { variant?: "default"; text?: React.ReactNode; className?: string; } const BannerOfflineRoot = React.forwardRef< HTMLDivElement, BannerOfflineRootProps >(function BannerOfflineRoot( { variant = "default", text, className, ...otherProps }: BannerOfflineRootProps, ref ) { return (
{text ? ( {text} ) : null}
); }); export const BannerOffline = BannerOfflineRoot;