MCPcopy Create free account

hub / github.com/ashwanth1506/ecommerce / functions

Functions61 in github.com/ashwanth1506/ecommerce

↓ 197 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 5 callersFunctiondispatch
(action: Action)
src/hooks/use-toast.ts:128
↓ 4 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:31
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:33
↓ 4 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:34
↓ 3 callersFunctiongetPayloadConfigFromPayload
(config: ChartConfig, payload: unknown, key: string)
src/components/ui/chart.tsx:278
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/hooks/use-toast.ts:55
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:22
↓ 2 callersFunctionuseTheme
()
src/context/ThemeContext.tsx:34
↓ 1 callersFunctionaddToCart
(item: Product)
src/pages/Products.tsx:22
↓ 1 callersFunctiondismiss
()
src/hooks/use-toast.ts:145
↓ 1 callersFunctiongenId
()
src/hooks/use-toast.ts:24
↓ 1 callersFunctionreducer
(state: State, action: Action)
src/hooks/use-toast.ts:71
↓ 1 callersFunctionremove
(id: string)
src/pages/Cart.tsx:42
↓ 1 callersFunctionuseIsMobile
()
src/hooks/use-mobile.tsx:5
↓ 1 callersFunctionuseToast
()
src/hooks/use-toast.ts:166
FunctionAdmin
()
src/pages/Admin.tsx:3
FunctionAlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/alert-dialog.tsx:51
FunctionAlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/alert-dialog.tsx:46
FunctionApp
()
src/App.tsx:11
FunctionBadge
({ className, variant, ...props }: BadgeProps)
src/components/ui/badge.tsx:25
FunctionBreadcrumbEllipsis
({ className, ...props }: React.ComponentProps<"span">)
src/components/ui/breadcrumb.tsx:69
FunctionBreadcrumbSeparator
({ children, className, ...props }: React.ComponentProps<"li">)
src/components/ui/breadcrumb.tsx:62
FunctionCalendar
({ className, classNames, showOutsideDays = true, ...props }: CalendarProps)
src/components/ui/calendar.tsx:10
FunctionCart
()
src/pages/Cart.tsx:11
FunctionChartStyle
({ id, config }: { id: string; config: ChartConfig })
src/components/ui/chart.tsx:61
FunctionCommandDialog
({ children, ...props }: CommandDialogProps)
src/components/ui/command.tsx:26
FunctionCommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/components/ui/command.tsx:117
FunctionContextMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/components/ui/context-menu.tsx:157
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:59
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:54
FunctionDrawer
({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>)
src/components/ui/drawer.tsx:6
FunctionDrawerFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/drawer.tsx:51
FunctionDrawerHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/drawer.tsx:46
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/components/ui/dropdown-menu.tsx:158
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
src/components/ui/form.tsx:20
FunctionHeader
()
src/components/Layout/Header.tsx:3
FunctionMenubarShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/components/ui/menubar.tsx:185
FunctionOrders
()
src/pages/Orders.tsx:13
FunctionPagination
({ className, ...props }: React.ComponentProps<"nav">)
src/components/ui/pagination.tsx:7
FunctionPaginationEllipsis
({ className, ...props }: React.ComponentProps<"span">)
src/components/ui/pagination.tsx:65
FunctionPaginationLink
({ className, isActive, size = "icon", ...props }: PaginationLinkProps)
src/components/ui/pagination.tsx:34
FunctionPaginationNext
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
src/components/ui/pagination.tsx:57
FunctionPaginationPrevious
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
src/components/ui/pagination.tsx:49
FunctionProducts
()
src/pages/Products.tsx:10
FunctionResizableHandle
({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle>
src/components/ui/resizable.tsx:15
FunctionResizablePanelGroup
({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>)
src/components/ui/resizable.tsx:6
FunctionSheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/sheet.tsx:75
FunctionSheetHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/sheet.tsx:70
FunctionSidebar
()
src/components/Layout/Sidebar.tsx:3
FunctionSkeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/skeleton.tsx:3
FunctionThemeProvider
({ children }: { children: ReactNode })
src/context/ThemeContext.tsx:12
FunctionToaster
()
src/components/ui/toaster.tsx:4
FunctionToaster
({ ...props }: ToasterProps)
src/components/ui/sonner.tsx:6
Functionadd
()
src/pages/Admin.tsx:11
FunctionhandleKeyDown
(event: KeyboardEvent)
src/components/ui/sidebar.tsx:80
FunctiononChange
()
src/hooks/use-mobile.tsx:10
FunctionplaceOrder
()
src/pages/Cart.tsx:68
Functiontoast
({ ...props }: Toast)
src/hooks/use-toast.ts:137
FunctiontoggleTheme
()
src/context/ThemeContext.tsx:23
Functionupdate
(props: ToasterToast)
src/hooks/use-toast.ts:140