Implement API endpoints and frontend components for creating and managing timesheets, projects, and dashboard functionalities. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 55837015-10e9-4be9-b857-7f5e6be73772 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: e5763354-5d83-482b-a89e-394e3eb5a41e Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1cc377db-7ea0-49f2-97ce-c3e87e0228cc/55837015-10e9-4be9-b857-7f5e6be73772/JpyvMwJ Replit-Helium-Checkpoint-Created: true
17 lines
331 B
TypeScript
17 lines
331 B
TypeScript
import { Loader2Icon } from "lucide-react"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
function Spinner({ className, ...props }: React.ComponentProps<"svg">) {
|
|
return (
|
|
<Loader2Icon
|
|
role="status"
|
|
aria-label="Loading"
|
|
className={cn("size-4 animate-spin", className)}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export { Spinner }
|