Function
DialogPanel
({ className, ...props }: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 154 | } |
| 155 | |
| 156 | function 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 | |
| 171 | export { |
| 172 | Dialog, |
Callers
nothing calls this directly
Tested by
no test coverage detected