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

Function SheetPanel

frontend/src/components/ui/sheet.tsx:167–184  ·  view source on GitHub ↗
({
  className,
  scrollFade = true,
  ...props
}: React.ComponentProps<"div"> & { scrollFade?: boolean })

Source from the content-addressed store, hash-verified

165}
166
167function 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
186export {
187 Sheet,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected