All files / src/components/ui/icons UpArrowIcon.tsx

34.48% Statements 10/29
100% Branches 0/0
0% Functions 0/1
34.48% Lines 10/29

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 301x 1x 1x 1x 1x 1x 1x 1x 1x 1x                                        
/**
 * UpArrowIcon - Upward pointing arrow
 *
 * @example
 * ```tsx
 * <UpArrowIcon /> // Default 20x20
 * <UpArrowIcon width={24} height={24} />
 * <UpArrowIcon className="fill-blue-500" />
 * ```
 */
export default function UpArrowIcon({
  width = 20,
  height = 20,
  className = 'fill-current',
  ...props
}: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      {...props}
      className={className}
      width={width}
      height={height}
      xmlns="http://www.w3.org/2000/svg"
      viewBox="0 0 512 512"
    >
      <path d="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z" />
    </svg>
  );
}