Hexagon.tsx 445 B

123456789101112131415161718
  1. import React from 'react';
  2. type Props = {
  3. className?: string,
  4. }
  5. export const Hexagon = React.memo((props: Props): JSX.Element => (
  6. <svg
  7. xmlns="http://www.w3.org/2000/svg"
  8. viewBox="0 0 27.691 23.999"
  9. height="36px"
  10. className={props.className}
  11. >
  12. <g className="background" transform="translate(0 0)">
  13. <path d="M20.768,0l6.923,12L20.768,24H6.923L0,12,6.923,0Z" transform="translate(0)"></path>
  14. </g>
  15. </svg>
  16. ));