MCPcopy Create free account
hub / github.com/cosscom/coss / CommandDialogBackdrop

Function CommandDialogBackdrop

apps/ui/registry/default/ui/command.tsx:39–53  ·  view source on GitHub ↗
({
  className,
  ...props
}: CommandDialogPrimitive.Backdrop.Props)

Source from the content-addressed store, hash-verified

37}
38
39export function CommandDialogBackdrop({
40 className,
41 ...props
42}: CommandDialogPrimitive.Backdrop.Props): React.ReactElement {
43 return (
44 <CommandDialogPrimitive.Backdrop
45 className={cn(
46 "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",
47 className,
48 )}
49 data-slot="command-dialog-backdrop"
50 {...props}
51 />
52 );
53}
54
55export function CommandDialogViewport({
56 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected