import React from 'react';

const ToolCancel = ({onClick}:{onClick:()=>void}) => {
  return (
    <>
      <svg
        width="11"
        height="11"
        viewBox="0 0 11 11"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        onClick={onClick}
      >
        <path
          fillRule="evenodd"
          clipRule="evenodd"
          d="M0.75 5.35076C0.75 4.03939 1.26845 2.78174 2.19131 1.85446C3.11417 0.927188 4.36583 0.40625 5.67094 0.40625C6.97605 0.40625 8.22772 0.927188 9.15057 1.85446C10.0734 2.78174 10.5919 4.03939 10.5919 5.35076C10.5919 6.66212 10.0734 7.91978 9.15057 8.84705C8.22772 9.77433 6.97605 10.2953 5.67094 10.2953C4.36583 10.2953 3.11417 9.77433 2.19131 8.84705C1.26845 7.91978 0.75 6.66212 0.75 5.35076ZM5.67094 1.11549C4.55303 1.11549 3.48091 1.5617 2.69043 2.35597C1.89995 3.15024 1.45586 4.22749 1.45586 5.35076C1.45586 6.47402 1.89995 7.55128 2.69043 8.34555C3.48091 9.13981 4.55303 9.58603 5.67094 9.58603C6.78885 9.58603 7.86097 9.13981 8.65145 8.34555C9.44193 7.55128 9.88602 6.47402 9.88602 5.35076C9.88602 4.22749 9.44193 3.15024 8.65145 2.35597C7.86097 1.5617 6.78885 1.11549 5.67094 1.11549ZM7.41998 3.59409C7.48963 3.66409 7.52875 3.75902 7.52875 3.858C7.52875 3.95698 7.48963 4.05191 7.41998 4.12191L6.19625 5.35076L7.41998 6.57961C7.48974 6.6497 7.52893 6.74476 7.52893 6.84389C7.52893 6.94302 7.48974 7.03808 7.41998 7.10817C7.35022 7.17827 7.25561 7.21764 7.15696 7.21764C7.0583 7.21764 6.96369 7.17827 6.89393 7.10817L5.67094 5.87858L4.44795 7.10817C4.41341 7.14288 4.3724 7.17041 4.32727 7.18919C4.28214 7.20798 4.23377 7.21764 4.18492 7.21764C4.13608 7.21764 4.08771 7.20798 4.04258 7.18919C3.99745 7.17041 3.95644 7.14288 3.9219 7.10817C3.88736 7.07347 3.85996 7.03227 3.84127 6.98692C3.82257 6.94157 3.81295 6.89297 3.81295 6.84389C3.81295 6.79481 3.82257 6.74621 3.84127 6.70086C3.85996 6.65551 3.88736 6.61431 3.9219 6.57961L5.14563 5.35076L3.9219 4.12191C3.85214 4.05182 3.81295 3.95675 3.81295 3.85763C3.81295 3.7585 3.85214 3.66343 3.9219 3.59334C3.99166 3.52325 4.08627 3.48387 4.18492 3.48387C4.28358 3.48387 4.37819 3.52325 4.44795 3.59334L5.67094 4.82294L6.89393 3.59334C6.92844 3.55858 6.96944 3.531 7.01457 3.51218C7.0597 3.49336 7.10809 3.48368 7.15696 3.48368C7.20582 3.48368 7.25421 3.49336 7.29934 3.51218C7.34447 3.531 7.38547 3.55932 7.41998 3.59409Z"
          fill="black"
        />
      </svg>
    </>
  );
};

export default ToolCancel;
