Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

React import image with url

import React from 'react';
import ReactDOM from 'react-dom';

const App: FunctionComponent = () => {
  return (
    <img src = {this.props.url} alt='something'/> 
  );
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #React #import #image #url
ADD COMMENT
Topic
Name
5+1 =