Function
SheetFooter
({
className,
variant = "default",
...props
}: React.ComponentProps<"div"> & {
variant?: "default" | "bare";
})
Source from the content-addressed store, hash-verified
| 121 | } |
| 122 | |
| 123 | function 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 | |
| 145 | function SheetTitle({ className, ...props }: SheetPrimitive.Title.Props) { |
| 146 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected