import { ChevronLeft, ChevronRight } from '@transferwise/icons'; import { clsx } from 'clsx'; import { motion } from 'motion/react'; import { useDirection } from '../../common/hooks'; interface Props { shouldShow: boolean; } export const Chevron = ({ shouldShow = true }: Props) => { const { isRTL } = useDirection(); const Icon = isRTL ? ChevronRight : ChevronLeft; return (
); };