MCPcopy Create free account
hub / github.com/arctic-cli/interface / DialogPanel

Function DialogPanel

packages/web/components/ui/dialog.tsx:156–169  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

154}
155
156function DialogPanel({ className, ...props }: React.ComponentProps<"div">) {
157 return (
158 <ScrollArea>
159 <div
160 className={cn(
161 "px-6 in-[[data-slot=dialog-popup]:has([data-slot=dialog-header])]:pt-1 in-[[data-slot=dialog-popup]:not(:has([data-slot=dialog-header]))]:pt-6 in-[[data-slot=dialog-popup]:not(:has([data-slot=dialog-footer]))]:pb-6! in-[[data-slot=dialog-popup]:not(:has([data-slot=dialog-footer].border-t))]:pb-1 pb-6",
162 className,
163 )}
164 data-slot="dialog-panel"
165 {...props}
166 />
167 </ScrollArea>
168 );
169}
170
171export {
172 Dialog,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected