All files / lib/components/icons/Play index.tsx

100% Statements 1/1
100% Branches 0/0
100% Functions 1/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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30                  3x                                        
import React from 'react';
 
function PlayIconForPauseMenu({
  className,
  onClick
}: {
  className?: string;
  onClick?: () => void;
}) {
  return (
    <svg
      width="65"
      height="64"
      viewBox="0 0 65 64"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      onClick={onClick}
    >
      <circle cx="32.1665" cy="32" r="32" fill="#7800ff" />
      <path
        d="M26.1105 21.5373C25.044 20.9448 23.7334 21.716 23.7334 22.936V41.0945C23.7334 42.3294 25.073 43.0988 26.1396 42.4765L42.0837 33.1758C43.155 32.5509 43.1387 30.9975 42.0545 30.3951L26.1105 21.5373ZM21.6001 22.936C21.6001 20.0894 24.6581 18.29 27.1465 19.6724L43.0906 28.5303C45.6203 29.9357 45.6583 33.5604 43.1586 35.0186L27.2145 44.3193C24.7257 45.7711 21.6001 43.9758 21.6001 41.0945V22.936Z"
        fill="white"
      />
    </svg>
  );
}
 
export default PlayIconForPauseMenu;