Function
SheetPanel
({
className,
scrollFade = true,
...props
}: React.ComponentProps<"div"> & { scrollFade?: boolean })
Source from the content-addressed store, hash-verified
| 165 | } |
| 166 | |
| 167 | function SheetPanel({ |
| 168 | className, |
| 169 | scrollFade = true, |
| 170 | ...props |
| 171 | }: React.ComponentProps<"div"> & { scrollFade?: boolean }) { |
| 172 | return ( |
| 173 | <ScrollArea scrollFade={scrollFade}> |
| 174 | <div |
| 175 | className={cn( |
| 176 | "px-6 in-[[data-slot=sheet-popup]:has([data-slot=sheet-header])]:pt-1 in-[[data-slot=sheet-popup]:not(:has([data-slot=sheet-header]))]:pt-6 in-[[data-slot=sheet-popup]:not(:has([data-slot=sheet-footer]))]:pb-6! in-[[data-slot=sheet-popup]:not(:has([data-slot=sheet-footer].border-t))]:pb-1 pb-6", |
| 177 | className, |
| 178 | )} |
| 179 | data-slot="sheet-panel" |
| 180 | {...props} |
| 181 | /> |
| 182 | </ScrollArea> |
| 183 | ); |
| 184 | } |
| 185 | |
| 186 | export { |
| 187 | Sheet, |
Callers
nothing calls this directly
Tested by
no test coverage detected