Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions src/components/ui/sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ const Sheet = SheetPrimitive.Root

const SheetTrigger = SheetPrimitive.Trigger

const SheetClose = SheetPrimitive.Close

const SheetPortal = SheetPrimitive.Portal

const SheetOverlay = React.forwardRef<
Expand Down Expand Up @@ -88,20 +86,6 @@ const SheetHeader = ({
)
SheetHeader.displayName = "SheetHeader"

const SheetFooter = ({
className,
...props
}: React.HTMLAttributes<HTMLDivElement>) => (
<div
className={cn(
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
className
)}
{...props}
/>
)
SheetFooter.displayName = "SheetFooter"

const SheetTitle = React.forwardRef<
React.ElementRef<typeof SheetPrimitive.Title>,
React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>
Expand Down Expand Up @@ -131,9 +115,7 @@ export {
SheetPortal,
SheetOverlay,
SheetTrigger,
SheetClose,
SheetContent,
SheetFooter,
SheetHeader,
SheetTitle,
SheetDescription,
Expand Down
Loading