mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-16 17:51:43 +10:00
Update dependencies and refactor icon imports across the codebase
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { X } from "@phosphor-icons/react";
|
||||
import { XIcon } from "@phosphor-icons/react";
|
||||
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
||||
import { cn } from "@reactive-resume/utils";
|
||||
import { type VariantProps } from "class-variance-authority";
|
||||
@ -50,7 +50,7 @@ export const SheetContent = forwardRef<
|
||||
|
||||
{showClose && (
|
||||
<SheetPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">
|
||||
<X className="size-4" />
|
||||
<XIcon className="size-4" />
|
||||
<span className="sr-only">Close</span>
|
||||
</SheetPrimitive.Close>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user