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

Function SheetFooter

packages/web/components/ui/sheet.tsx:123–143  ·  view source on GitHub ↗
({
  className,
  variant = "default",
  ...props
}: React.ComponentProps<"div"> & {
  variant?: "default" | "bare";
})

Source from the content-addressed store, hash-verified

121}
122
123function SheetFooter({
124 className,
125 variant = "default",
126 ...props
127}: React.ComponentProps<"div"> & {
128 variant?: "default" | "bare";
129}) {
130 return (
131 <div
132 className={cn(
133 "flex flex-col-reverse gap-2 px-6 sm:flex-row sm:justify-end",
134 variant === "default" && "border-t bg-muted/50 py-4",
135 variant === "bare" &&
136 "in-[[data-slot=sheet-popup]:has([data-slot=sheet-panel])]:pt-3 pt-4 pb-6",
137 className,
138 )}
139 data-slot="sheet-footer"
140 {...props}
141 />
142 );
143}
144
145function SheetTitle({ className, ...props }: SheetPrimitive.Title.Props) {
146 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected