import { cn } from "@/lib/utils"; import { cva, type VariantProps } from "class-variance-authority"; const DecorIconVariants = cva( "pointer-events-none absolute z-1 size-5 shrink-0 stroke-1 stroke-muted-foreground", { variants: { position: { "top-left": "top-0 left-0 -translate-x-[calc(50%+0.5px)] -translate-y-[calc(50%+0.5px)]", "top-right": "top-0 right-0 translate-x-[calc(50%+0.5px)] -translate-y-[calc(50%+0.5px)]", "bottom-right": "right-0 bottom-0 translate-x-[calc(50%+0.5px)] translate-y-[calc(50%+0.5px)]", "bottom-left": "bottom-0 left-0 -translate-x-[calc(50%+0.5px)] translate-y-[calc(50%+0.5px)]", }, }, defaultVariants: { position: "top-left", }, } ); type DecorIconProps = React.ComponentProps<"svg"> & VariantProps; export function DecorIcon({ position, className, ...props }: DecorIconProps) { return ( ); }