MCPcopy
hub / github.com/TheOrcDev/8bitcn-ui / DrawerOverlay

Function DrawerOverlay

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

Source from the content-addressed store, hash-verified

31}
32
33function DrawerOverlay({
34 className,
35 ...props
36}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {
37 return (
38 <DrawerPrimitive.Overlay
39 data-slot="drawer-overlay"
40 className={cn(
41 "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",
42 className
43 )}
44 {...props}
45 />
46 );
47}
48
49function DrawerContent({
50 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected