import React from "react";

const Globe = ({ width, height, color }) => (
  <svg width={width || 24} height={height || 24} viewBox="0 0 24 24">
    <g fill="none" fillRule="evenodd">
      <rect width={24} height={24} />
      <path
        fill={color}
        fillRule="nonzero"
        d="M12,2 C17.5228475,2 22,6.4771525 22,12 C22,17.5228475 17.5228475,22 12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 Z M4.35845751,14.3784825 C5.13897967,16.884332 7.11645748,18.8615989 9.62179102,19.6405679 C8.91950226,18.7646685 8.34693166,17.5128636 7.9743598,16.0260686 C6.48699426,15.6533323 5.2345413,15.0806616 4.35845751,14.3784825 Z M19.6409111,14.3771468 L19.5218489,14.4718373 C18.6530496,15.1314451 17.4465244,15.6699825 16.0253299,16.0259213 C15.6532829,17.5128611 15.0809757,18.7646628 14.3792735,19.6405553 C16.8844481,18.8613907 18.862119,16.8832892 19.6409111,14.3771468 Z M13.8317322,16.4079129 L13.777918,16.4122104 C13.2031697,16.4697918 12.6086403,16.5 12,16.5 C11.3725613,16.5 10.7601188,16.467897 10.1688842,16.4067969 C10.2981193,16.7899481 10.4449131,17.1456123 10.6068739,17.4695338 C11.1416012,18.5389886 11.6865779,19 12,19 C12.3134221,19 12.8583988,18.5389886 13.3931261,17.4695338 C13.5550869,17.1456123 13.7018807,16.7899481 13.8317322,16.4079129 Z M12,9.5 C11.1931297,9.5 10.4094392,9.55994414 9.67190298,9.67223872 C9.55994414,10.4094392 9.5,11.1931297 9.5,12 C9.5,12.8068703 9.55994414,13.5905608 9.67223872,14.328097 C10.4094392,14.4400559 11.1931297,14.5 12,14.5 C12.8068703,14.5 13.5905608,14.4400559 14.328097,14.3277613 C14.4400559,13.5905608 14.5,12.8068703 14.5,12 C14.5,11.1931297 14.4400559,10.4094392 14.3277613,9.67190298 C13.5905608,9.55994414 12.8068703,9.5 12,9.5 Z M7.59319663,10.1689472 L7.36705487,10.2478367 C7.0696715,10.3571795 6.78988876,10.4771626 6.53046616,10.6068739 C5.4610114,11.1416012 5,11.6865779 5,12 C5,12.3134221 5.4610114,12.8583988 6.53046616,13.3931261 C6.85438767,13.5550869 7.21005193,13.7018807 7.59208708,13.8317322 C7.53210074,13.2398377 7.5,12.6274164 7.5,12 C7.5,11.3725836 7.53210074,10.7601623 7.59319663,10.1689472 Z M16.4079129,10.1682678 L16.434611,10.46269 C16.4776003,10.9622496 16.5,11.475893 16.5,12 C16.5,12.6274164 16.4678993,13.2398377 16.4068034,13.8310528 C16.7899481,13.7018807 17.1456123,13.5550869 17.4695338,13.3931261 C18.5389886,12.8583988 19,12.3134221 19,12 C19,11.6865779 18.5389886,11.1416012 17.4695338,10.6068739 C17.1456123,10.4449131 16.7899481,10.2981193 16.4079129,10.1682678 Z M14.378209,4.35943208 L14.4718373,4.47815114 C15.1315941,5.34714655 15.6702258,6.55402052 16.0261624,7.975633 C17.5135686,8.34692512 18.7656556,8.91949615 19.6415425,9.62151747 C18.8620624,7.11671011 16.8842027,5.1386064 14.378209,4.35943208 Z M9.62072646,4.35944466 L9.6068709,4.36408723 C7.10846444,5.14630162 5.13720575,7.12086992 4.35958379,9.62130317 C5.2345413,8.91933835 6.48699426,8.34666772 7.97467013,7.97407871 C8.34671707,6.48713893 8.9190243,5.23533716 9.62072646,4.35944466 Z M12,5 C11.6865779,5 11.1416012,5.4610114 10.6068739,6.53046616 C10.4449131,6.85438767 10.2981193,7.21005193 10.1682678,7.59208708 C10.7601188,7.53210302 11.3725613,7.5 12,7.5 C12.6274387,7.5 13.2398812,7.53210302 13.8311158,7.59320314 C13.7018807,7.21005193 13.5550869,6.85438767 13.3931261,6.53046616 C12.8583988,5.4610114 12.3134221,5 12,5 Z"
      />
    </g>
  </svg>
);

export default Globe;
