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

Function DialogOverlay

packages/react/src/components/dialog.tsx:26–40  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof DialogPrimitive.Overlay>)

Source from the content-addressed store, hash-verified

24}
25
26function DialogOverlay({
27 className,
28 ...props
29}: React.ComponentProps<typeof DialogPrimitive.Overlay>) {
30 return (
31 <DialogPrimitive.Overlay
32 data-slot="dialog-overlay"
33 className={cn(
34 "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",
35 className,
36 )}
37 {...props}
38 />
39 );
40}
41
42function DialogContent({
43 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected