import * as React from "react";
import { useSystemTheme } from "../../hooks/use-system-theme";


const CalendarIcon = (props) => {
  const systemTheme = useSystemTheme();

  console.log('systemTheme', systemTheme)

    return  (
        <svg
          xmlns="http://www.w3.org/2000/svg"
          width="1em"
          height="1em"
          viewBox="0 0 48 48"
          {...props}
        >
          <mask id="ipSApplication0">
            <g fill="none" stroke={systemTheme === "dark" ? "#fff" : systemTheme === "light" ? "#fff" : "#000"} strokeLinejoin="round" strokeWidth={4}>
              <path strokeLinecap="round" d="M40.04 22v20h-32V22" />
              <path
                fill={systemTheme === "dark" ? "#fff" : systemTheme === "light" ? "#fff" : "#000"}
                d="M5.842 13.777C4.312 17.737 7.263 22 11.51 22c3.314 0 6.019-2.686 6.019-6a6 6 0 0 0 6 6h1.018a6 6 0 0 0 6-6c0 3.314 2.706 6 6.02 6c4.248 0 7.201-4.265 5.67-8.228L39.234 6H8.845l-3.003 7.777Z"
              />
            </g>
          </mask>
          <path fill="currentColor" d="M0 0h48v48H0z" mask="url(#ipSApplication0)" />
        </svg>
      );
}

export default CalendarIcon
