import React from 'react';
import Icon, { IconPropTypes } from '../../atoms/Icon';

function Gear(props) {
  return (
    <Icon viewBox="0 0 24 24" {...props}>
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M8 12a4 4 0 118 0 4 4 0 01-8 0zm4-2a2 2 0 100 4 2 2 0 000-4z"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M12 2a1 1 0 00-1 1v.174a2.65 2.65 0 01-1.606 2.425 1 1 0 01-.264.073 2.65 2.65 0 01-2.73-.607l-.007-.008-.06-.06a1.001 1.001 0 00-1.415 0h-.001a1 1 0 000 1.415l.068.069c.75.767.963 1.91.542 2.894a2.65 2.65 0 01-2.414 1.705H3a1 1 0 100 2h.174a2.65 2.65 0 012.423 1.601 2.65 2.65 0 01-.532 2.918l-.008.008-.06.06a1.001 1.001 0 000 1.415v.001a1 1 0 001.415 0l.069-.068a2.65 2.65 0 012.894-.543 2.65 2.65 0 011.705 2.415V21a1 1 0 102 0V20.826a2.65 2.65 0 011.601-2.423 2.65 2.65 0 012.918.532l.008.008.06.06a1.001 1.001 0 001.415 0h.001a1 1 0 000-1.416l-.068-.068a2.65 2.65 0 01-.532-2.918A2.65 2.65 0 0120.906 13H21a1 1 0 100-2H20.826a2.65 2.65 0 01-2.425-1.606.994.994 0 01-.073-.264 2.65 2.65 0 01.607-2.73l.008-.007.06-.06a1.001 1.001 0 000-1.415v-.001a1 1 0 00-1.416 0l-.068.068a2.65 2.65 0 01-2.918.532A2.65 2.65 0 0113 3.094V3a1 1 0 00-1-1zM9 3a3 3 0 116 0v.087a.65.65 0 00.394.594l.01.004a.65.65 0 00.714-.127l.055-.055a3 3 0 114.244 4.244l-.055.055a.65.65 0 00-.127.714c.028.064.05.131.064.2a.65.65 0 00.534.284H21a3 3 0 110 6h-.087a.65.65 0 00-.594.394l-.004.01a.65.65 0 00.127.714l.055.055a3.001 3.001 0 11-4.244 4.244l-.055-.055a.65.65 0 00-.714-.127l-.01.004a.65.65 0 00-.394.593V21a3 3 0 11-6 0v-.076a.65.65 0 00-.425-.585.955.955 0 01-.059-.024.65.65 0 00-.714.127l-.054.055a3.001 3.001 0 11-4.245-4.244l.055-.055a.65.65 0 00.127-.714l-.004-.01a.65.65 0 00-.594-.394H3a3 3 0 110-6h.076a.65.65 0 00.585-.425l.024-.059a.65.65 0 00-.127-.714l-.055-.054a3 3 0 114.244-4.245l.055.055a.65.65 0 00.714.127 1 1 0 01.2-.064A.65.65 0 009 3.167V3z"
      />
    </Icon>
  );
}

Gear.propTypes = IconPropTypes;

Gear.defaultProps = {
  size: 'medium',
  fill: 'sapphire.800',
};

export default Gear;
