Skip to content

Commit

Permalink
fix(ui): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Jun 10, 2024
1 parent 10a76c8 commit 5d168d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/primitives/toast/toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const ToastViewport = React.forwardRef<
));
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;

// eslint-disable-next-line tailwindcss/no-custom-classname
const toastVariants = cva(
'group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full',
{
Expand Down

0 comments on commit 5d168d5

Please sign in to comment.