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