import React from 'react';
import { IconTheme } from '../../IconsCommonTypes';

function Admin(theme: IconTheme | undefined = undefined) {
  return (
    <svg
      width={theme && theme.width ? theme.width : '44'}
      height={theme && theme.height ? theme.height : '44'}
      viewBox="0 0 44 44"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M17.7466 24.1817L21.9999 20.955L26.2349 24.1817L24.6216 18.9567L28.8749 15.5833H23.6683L21.9999 10.4317L20.3316 15.5833H15.1249L19.3599 18.9567L17.7466 24.1817ZM36.6666 17.4167C36.6666 9.31333 30.1033 2.75 21.9999 2.75C13.8966 2.75 7.33325 9.31333 7.33325 17.4167C7.33325 21.1383 8.72659 24.5117 10.9999 27.0967V41.25L21.9999 37.5833L32.9999 41.25V27.0967C35.2733 24.5117 36.6666 21.1383 36.6666 17.4167ZM21.9999 6.41667C28.0683 6.41667 32.9999 11.3483 32.9999 17.4167C32.9999 23.485 28.0683 28.4167 21.9999 28.4167C15.9316 28.4167 10.9999 23.485 10.9999 17.4167C10.9999 11.3483 15.9316 6.41667 21.9999 6.41667ZM21.9999 33.9167L14.6666 35.7867V30.1033C16.8299 31.35 19.3233 32.0833 21.9999 32.0833C24.6766 32.0833 27.1699 31.35 29.3333 30.1033V35.7867L21.9999 33.9167Z"
        id="Admin"
        fill={theme && theme.color ? theme.color : 'var(--color-icon)'}
      />
    </svg>
  );
}

export default Admin;
