All files / src/assets/icons/RebrandedIcons ChevronRight.tsx

100% Statements 2/2
0% Branches 0/4
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35              137x           400x                                          
type Props = {
  width?: number;
  height?: number;
  stroke?: string;
  rotate?: number;
};
 
const ChevronRight = ({
  width = 32,
  height = 32,
  stroke = "#B8B8B8",
  rotate = 0,
}: Props) => {
  return (
    <svg
      width={width}
      height={height}
      viewBox="0 0 32 32"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      style={{ transform: `rotate(${rotate}deg)` }}
    >
      <path
        d="M12 8L19.2929 15.2929C19.6834 15.6834 19.6834 16.3166 19.2929 16.7071L12 24"
        stroke={stroke}
        strokeWidth="2"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
    </svg>
  )
}
 
export default ChevronRight;