Some checks failed
Build Frontend / build (push) Failing after 7s
Introduces a modular dashboard system with draggable, configurable widgets including revenue, low stock, recent customers, and pending chats. Adds a dashboard editor for layout customization, widget visibility, and settings. Refactors dashboard content to use the new widget system and improves UI consistency and interactivity.
10 lines
488 B
TypeScript
10 lines
488 B
TypeScript
import { Package, Clock, CheckCircle, AlertTriangle } from "lucide-react"
|
|
|
|
export const statsConfig = [
|
|
{ title: "Total Orders", key: "totalOrders", icon: Package, filterStatus: "all" },
|
|
{ title: "Completed Orders", key: "completedOrders", icon: CheckCircle, filterStatus: "completed" },
|
|
{ title: "Pending Orders", key: "ongoingOrders", icon: Clock, filterStatus: "paid" },
|
|
{ title: "Cancelled Orders", key: "cancelledOrders", icon: AlertTriangle, filterStatus: "cancelled" },
|
|
]
|
|
|