"use client"; import React from "react"; import { cn } from "@/utils/cn"; type Direction = "left" | "right"; interface ChevronSlideProps extends React.SVGAttributes { direction?: Direction; size?: number; // pixel size for width/height } export function ChevronSlide({ direction = "right", size = 16, className, ...props }: ChevronSlideProps) { const translateClass = direction === "right" ? "group-hover:translate-x-8" : "group-hover:-translate-x-8"; const orientationClass = direction === "right" ? "" : "rotate-180"; return ( ); } export default ChevronSlide;