Function
SheetPanel
({
className,
scrollFade = true,
...props
}: React.ComponentProps<"div"> & { scrollFade?: boolean })
Source from the content-addressed store, hash-verified
| 166 | } |
| 167 | |
| 168 | function SheetPanel({ |
| 169 | className, |
| 170 | scrollFade = true, |
| 171 | ...props |
| 172 | }: React.ComponentProps<"div"> & { scrollFade?: boolean }) { |
| 173 | return ( |
| 174 | <ScrollArea scrollFade={scrollFade}> |
| 175 | <div |
| 176 | className={cn( |
| 177 | "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", |
| 178 | className, |
| 179 | )} |
| 180 | data-slot="sheet-panel" |
| 181 | {...props} |
| 182 | /> |
| 183 | </ScrollArea> |
| 184 | ); |
| 185 | } |
| 186 | |
| 187 | export { |
| 188 | Sheet, |
Callers
nothing calls this directly
Tested by
no test coverage detected