'use client' import React from 'react' import { cn } from '../../utils/cn' import { OpenFrameLogo } from '../icons/openframe-logo' export interface PageLoaderProps { /** * Main loading text */ title?: string /** * Secondary description text */ description?: string /** * Additional CSS classes for the container */ className?: string /** * Show the loader icon */ showIcon?: boolean } /** * Full page loader component * Used for loading states that take up the full viewport */ export function PageLoader({ title = 'Loading', description = 'Getting your data ready', className, showIcon = true }: PageLoaderProps) { return (
{title}
{description}
{title}
{description && ({description}
)}