Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

chore(prettier): sheet

Marc Seitz85f59a7d9048
diff --git a/components/ui/sheet.tsx b/components/ui/sheet.tsx
index 902d507f..ae353cb7 100644
--- a/components/ui/sheet.tsx
+++ b/components/ui/sheet.tsx
@@ -13,9 +13,7 @@ const SheetTrigger = SheetPrimitive.Trigger;
const SheetClose = SheetPrimitive.Close;
-const SheetPortal = ({
- ...props
-}: SheetPrimitive.DialogPortalProps) => (
+const SheetPortal = ({ ...props }: SheetPrimitive.DialogPortalProps) => (
<SheetPrimitive.Portal {...props} />
);
SheetPortal.displayName = SheetPrimitive.Portal.displayName;
@@ -27,7 +25,7 @@ const SheetOverlay = React.forwardRef<
<SheetPrimitive.Overlay
className={cn(
"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
- className
+ className,
)}
{...props}
ref={ref}
@@ -51,7 +49,7 @@ const sheetVariants = cva(
defaultVariants: {
side: "right",
},
- }
+ },
);
interface SheetContentProps
@@ -86,7 +84,7 @@ const SheetHeader = ({
<div
className={cn(
"flex flex-col space-y-2 text-center sm:text-left",
- className
+ className,
)}
{...props}
/>
@@ -100,7 +98,7 @@ const SheetFooter = ({
<div
className={cn(
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
- className
+ className,
)}
{...props}
/>
@@ -140,4 +138,6 @@ export {
SheetFooter,
SheetTitle,
SheetDescription,
+ SheetPortal,
+ SheetOverlay,
};