MCPcopy Create free account
hub / github.com/bytebase/dbhub / DialogPanel

Function DialogPanel

frontend/src/components/ui/dialog.tsx:155–168  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

153}
154
155function DialogPanel({ className, ...props }: React.ComponentProps<"div">) {
156 return (
157 <ScrollArea>
158 <div
159 className={cn(
160 "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",
161 className,
162 )}
163 data-slot="dialog-panel"
164 {...props}
165 />
166 </ScrollArea>
167 );
168}
169
170export {
171 Dialog,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected