image option in React.
import React from "react"; import Image from "../MyImage.jpg"; export default function Images() { return <img src={Image} />; }
works with: