I have next 13 app with the app directory and I am trying to show an icon in a component, I was able to achieve this but not able to change the color of the svg image. Is there a way to achieve coloring for the svg image with next/Image or is there any other approach to achieve this?
import MenuIcon from "../../public/icons/menu.svg";
import Image from "next/image";
{/* jsx */}
{/* this works and the icon appears red */}
<svg fill="red" xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 96 960 960"
width="48">
<path d="M120 816v-60h720v60H120Zm0-210v-60h720v60H120Zm0-210v-60h720v60H120Z" />
</svg>
{/* this does not work */}
<Image style={{ fill: "red" }} src={MenuIcon} alt="icon"></Image>