<commit_before>import { color } from "@artsy/palette"
import React from "react"

enum Direction {
  LEFT,
  RIGHT,
}

interface IconProps {
  direction?: Direction
  fill?: string
}

export const ChevronIcon = ({ direction, fill }: IconProps) => (
  <svg
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 12 12"
    width="8px"
    height="8px"
    transform={direction === Direction.RIGHT ? "scale(-1, 1)" : ""}
  >
    <path
      fill={fill ? fill : color("black10")}
      fill-rule="evenodd"
      d="M9.091 10.758l-.788.771-5.832-5.708L8.303.113l.788.771-5.044 4.937 5.044 4.937"
    />
  </svg>
)<commit_msg>changes chevron default direction to right<commit_after>import { color } from "@artsy/palette"
import React from "react"

export enum Direction {
  LEFT,
  RIGHT,
}

interface IconProps {
  /** default is RIGHT */
  direction?: Direction

  /** default is black10 */
  fill?: string
}

export const ChevronIcon = ({ direction, fill }: IconProps) => (
  <svg
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 12 12"
    width="8px"
    height="8px"
    transform={direction === Direction.LEFT ? "" : "scale(-1, 1)"}
  >
    <path
      fill={fill ? fill : color("black10")}
      fill-rule="evenodd"
      d="M9.091 10.758l-.788.771-5.832-5.708L8.303.113l.788.771-5.044 4.937 5.044 4.937"
    />
  </svg>
)
{'fraction_non_alphanumeric': 0.17267267267267267, 'fraction_numerical': 0.10510510510510511, 'mean_word_length': 2.875, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7036906', 'n_tokens_mistral': 593, 'n_tokens_neox': 500, 'n_words': 106}