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

Function SheetOverlay

src/components/ui/sheet.tsx:31–45  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof SheetPrimitive.Overlay>)

Source from the content-addressed store, hash-verified

29}
30
31function SheetOverlay({
32 className,
33 ...props
34}: React.ComponentProps<typeof SheetPrimitive.Overlay>) {
35 return (
36 <SheetPrimitive.Overlay
37 data-slot="sheet-overlay"
38 className={cn(
39 "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",
40 className
41 )}
42 {...props}
43 />
44 )
45}
46
47function SheetContent({
48 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected