MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / SheetOverlay

Function SheetOverlay

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected