MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / DrawerOverlay

Function DrawerOverlay

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

Source from the content-addressed store, hash-verified

20}
21
22function DrawerOverlay({
23 className,
24 ...props
25}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {
26 return (
27 <DrawerPrimitive.Overlay
28 data-slot="drawer-overlay"
29 className={cn(
30 "fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",
31 className,
32 )}
33 {...props}
34 />
35 );
36}
37
38function DrawerContent({
39 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected