React - Image

> (World Wide) Web - (W3|WWW) > Javascript (Js|ECMAScript) > React

1 - About

image option in React.

3 - Example

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

works with:

Advertising

4 - Documentation / Reference

web/javascript/react/image.txt · Last modified: 2019/06/21 14:39 by gerardnico