arrow.tsx 983 B

1234567891011121314151617181920212223242526272829303132333435
  1. import React from 'react';
  2. interface IconProps {
  3. className?: string;
  4. }
  5. export function CloseArrow({ className, ...props }: IconProps) {
  6. return (
  7. <div className={className} {...props}>
  8. <svg fill="#ffffff" width="24px" height="24px" viewBox="0 0 24 24">
  9. <path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
  10. </svg>
  11. </div>
  12. );
  13. }
  14. export function PrevArrowButton({ className, ...props }: IconProps) {
  15. return (
  16. <div className={className} {...props}>
  17. <svg fill="#ffffff" width="36px" height="36px" viewBox="0 0 24 24">
  18. <path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z" />
  19. </svg>
  20. </div>
  21. );
  22. }
  23. export function NextArrowButton({ className, ...props }: IconProps) {
  24. return (
  25. <div className={className} {...props}>
  26. <svg fill="#ffffff" width="36px" height="36px" viewBox="0 0 24 24">
  27. <path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z" />
  28. </svg>
  29. </div>
  30. );
  31. }