Function
CommandPanel
({
className,
...props
}: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 160 | } |
| 161 | |
| 162 | export function CommandPanel({ |
| 163 | className, |
| 164 | ...props |
| 165 | }: React.ComponentProps<"div">): React.ReactElement { |
| 166 | return ( |
| 167 | <div |
| 168 | className={cn( |
| 169 | "relative -mx-px not-has-[+[data-slot=command-footer]]:-mb-px min-h-0 rounded-t-xl not-has-[+[data-slot=command-footer]]:rounded-b-2xl border border-b-0 bg-popover bg-clip-padding shadow-xs/5 [clip-path:inset(0_1px)] not-has-[+[data-slot=command-footer]]:[clip-path:inset(0_1px_1px_1px_round_0_0_calc(var(--radius-2xl)-1px)_calc(var(--radius-2xl)-1px))] before:pointer-events-none before:absolute before:inset-0 before:rounded-t-[calc(var(--radius-xl)-1px)] **:data-[slot=scroll-area-scrollbar]:mt-2", |
| 170 | className, |
| 171 | )} |
| 172 | {...props} |
| 173 | /> |
| 174 | ); |
| 175 | } |
| 176 | |
| 177 | export function CommandGroup({ |
| 178 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected