# All files / src/components/Svg Rhombus.tsx

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

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

    1x

     import type { FC } from 'react';

    export interface RhombusProps {
      className?: string;
    }

    export const Rhombus: FC<RhombusProps> = ({ className }) => (
      <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" className={className} viewBox="0 0 40 40">
        <path d="M20 0 L40 20 L20 40 L0 20" />
      </svg>
    );