MCPcopy Create free account
hub / github.com/bytebase/dbhub / DialogBackdrop

Function DialogBackdrop

frontend/src/components/ui/dialog.tsx:21–35  ·  view source on GitHub ↗
({
  className,
  ...props
}: DialogPrimitive.Backdrop.Props)

Source from the content-addressed store, hash-verified

19}
20
21function DialogBackdrop({
22 className,
23 ...props
24}: DialogPrimitive.Backdrop.Props) {
25 return (
26 <DialogPrimitive.Backdrop
27 className={cn(
28 "fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0",
29 className,
30 )}
31 data-slot="dialog-backdrop"
32 {...props}
33 />
34 );
35}
36
37function DialogViewport({
38 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected