MCPcopy Create free account
hub / github.com/F12FLASH/CTF / CommandDialog

Function CommandDialog

4.Stackless Stack/client/src/components/ui/command.tsx:24–34  ·  view source on GitHub ↗
({ children, ...props }: DialogProps)

Source from the content-addressed store, hash-verified

22Command.displayName = CommandPrimitive.displayName
23
24const CommandDialog = ({ children, ...props }: DialogProps) => {
25 return (
26 <Dialog {...props}>
27 <DialogContent className="overflow-hidden p-0 shadow-lg">
28 <Command className="[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">
29 {children}
30 </Command>
31 </DialogContent>
32 </Dialog>
33 )
34}
35
36const CommandInput = React.forwardRef<
37 React.ElementRef<typeof CommandPrimitive.Input>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected