interface ReOrderIconType {
  className?: string;
  onClick?: () => void;
}

const ReOrderIcon = ({ className, onClick }: ReOrderIconType) => {
  return (
    <svg
      width="15"
      height="14"
      viewBox="0 0 15 14"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      onClick={onClick}
    >
      <path
        d="M7.50015 14.0001C5.86384 14.0389 4.26789 13.4895 3.00222 12.4517C1.73655 11.4138 0.885134 9.95645 0.602635 8.34424C0.320136 6.73204 0.625298 5.07198 1.46269 3.66564C2.30008 2.2593 3.61414 1.19998 5.16615 0.680114C5.25424 0.649102 5.35099 0.653947 5.43554 0.693604C5.52009 0.73326 5.58568 0.804553 5.61815 0.892114C5.63354 0.935355 5.64015 0.981233 5.63759 1.02706C5.63502 1.07289 5.62334 1.11774 5.60323 1.159C5.58311 1.20025 5.55496 1.23708 5.52044 1.26732C5.48591 1.29756 5.4457 1.32061 5.40215 1.33511C4.34845 1.73586 3.42422 2.41679 2.72923 3.30441C2.03424 4.19202 1.59489 5.25261 1.4586 6.37167C1.32231 7.49073 1.49427 8.62577 1.95591 9.65424C2.41754 10.6827 3.15133 11.5656 4.07804 12.2075C5.00476 12.8494 6.08921 13.2261 7.21432 13.2967C8.33944 13.3674 9.46248 13.1294 10.4622 12.6084C11.462 12.0875 12.3004 11.3033 12.8871 10.3407C13.4738 9.37804 13.7864 8.27343 13.7912 7.14611C13.7886 5.70242 13.2729 4.30666 12.3362 3.20811C12.3064 3.17329 12.2839 3.13284 12.2701 3.08917C12.2563 3.04549 12.2513 2.99949 12.2556 2.95388C12.2599 2.90827 12.2733 2.86398 12.2951 2.82366C12.3168 2.78333 12.3464 2.74778 12.3822 2.71911C12.4549 2.66003 12.5479 2.63168 12.6413 2.64008C12.7347 2.64849 12.8211 2.69298 12.8822 2.76411C13.9238 3.98648 14.4972 5.53915 14.5002 7.14511C14.4785 8.98164 13.7295 10.7346 12.4172 12.0197C11.105 13.3047 9.33672 14.0169 7.50015 14.0001Z"
        fill="#CC9300"
      />
      <path
        d="M5.22613 4.18111C5.1866 4.18084 5.14728 4.17546 5.10913 4.16511C5.00504 4.13386 4.91757 4.06266 4.86585 3.96709C4.81413 3.87151 4.80236 3.75934 4.83313 3.65511L5.51313 1.36611L3.19113 0.809113C3.08504 0.783917 2.99331 0.717612 2.93611 0.624781C2.87891 0.531951 2.86093 0.4202 2.88613 0.314113C2.91132 0.208026 2.97763 0.116294 3.07046 0.0590958C3.16329 0.00189719 3.27504 -0.0160818 3.38113 0.00911372L6.12513 0.666113C6.17933 0.679504 6.23029 0.703671 6.27496 0.737173C6.31963 0.770674 6.3571 0.812824 6.38513 0.861113C6.413 0.909202 6.43082 0.962443 6.43752 1.01762C6.44423 1.07279 6.43967 1.12875 6.42413 1.18211L5.62413 3.88211C5.59963 3.96863 5.54743 4.04472 5.47554 4.09872C5.40366 4.15273 5.31604 4.18167 5.22613 4.18111Z"
        fill="#CC9300"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M11.8294 2.12514C11.8228 2.20598 11.7923 2.28303 11.7419 2.34657C11.6915 2.41011 11.6234 2.45727 11.5462 2.48209C11.469 2.50691 11.3862 2.50827 11.3082 2.48601C11.2302 2.46375 11.1606 2.41885 11.1081 2.35701C11.0556 2.29517 11.0227 2.21915 11.0134 2.13858C11.0042 2.05801 11.019 1.9765 11.0561 1.90437C11.0931 1.83223 11.1508 1.77271 11.2217 1.73334C11.2926 1.69396 11.3736 1.67649 11.4544 1.68315C11.5627 1.69206 11.6631 1.74363 11.7334 1.82651C11.8037 1.9094 11.8382 2.01681 11.8294 2.12514Z"
        fill="#CC9300"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M10.3182 1.27114C10.3116 1.35197 10.2811 1.42903 10.2307 1.49257C10.1803 1.55611 10.1122 1.60327 10.035 1.62809C9.95778 1.65291 9.87495 1.65427 9.79696 1.63201C9.71897 1.60974 9.64934 1.56485 9.59687 1.50301C9.54441 1.44117 9.51146 1.36515 9.50219 1.28458C9.49293 1.20401 9.50777 1.1225 9.54484 1.05037C9.58191 0.978232 9.63954 0.918712 9.71044 0.879333C9.78134 0.839955 9.86233 0.822487 9.94315 0.829141C10.0515 0.838059 10.1518 0.889628 10.2222 0.972511C10.2925 1.05539 10.327 1.16281 10.3182 1.27114Z"
        fill="#CC9300"
      />
    </svg>
  );
};

export default ReOrderIcon;
