"use client"; /* * Documentation: * Button — https://app.subframe.com/f023064a5ca0/library?component=Button_3b777358-b86b-40af-9327-891efc6826fe * Timeout — https://app.subframe.com/f023064a5ca0/library?component=Timeout_ff21411f-6321-4139-bc92-603c625e2380 */ import React from "react"; import * as SubframeUtils from "../../utils"; import { Button } from "../Button"; export interface TimeoutRootProps extends React.HTMLAttributes { variant?: "inline" | "full-width"; className?: string; } const TimeoutRoot = React.forwardRef( function TimeoutRoot( { variant = "inline", className, ...otherProps }: TimeoutRootProps, ref ) { return (
{"Request timed out"}
The server took too long to respond. Please try again.
); } ); export const Timeout = TimeoutRoot;