MCPcopy Create free account
hub / github.com/arctic-cli/interface / SheetPanel

Function SheetPanel

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected