Hexagon.tsx 544 B

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