MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / DrawerOverlay

Function DrawerOverlay

src/components/ui/drawer.tsx:32–46  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof DrawerPrimitive.Overlay>)

Source from the content-addressed store, hash-verified

30}
31
32function DrawerOverlay({
33 className,
34 ...props
35}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {
36 return (
37 <DrawerPrimitive.Overlay
38 data-slot="drawer-overlay"
39 className={cn(
40 "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
41 className
42 )}
43 {...props}
44 />
45 )
46}
47
48function DrawerContent({
49 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected