(props: CommandDialogProps)
| 101 | }; |
| 102 | |
| 103 | export const CommandDialog = (props: CommandDialogProps) => { |
| 104 | const [local, rest] = splitProps(props, ["children"]); |
| 105 | |
| 106 | return ( |
| 107 | <Dialog {...rest}> |
| 108 | <DialogContent class="overflow-hidden p-0"> |
| 109 | <Command class="[&_[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]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:size-5"> |
| 110 | {local.children} |
| 111 | </Command> |
| 112 | </DialogContent> |
| 113 | </Dialog> |
| 114 | ); |
| 115 | }; |
| 116 | |
| 117 | export const CommandEmpty = (props: CommandEmptyProps) => { |
| 118 | const [local, rest] = splitProps(props, ["class"]); |
nothing calls this directly
no outgoing calls
no test coverage detected