To use saved image with React, we can call require
with the image path to and set the returned path as the value of the src
prop of the img element.
For instance, we write
<img alt="timer" src={require('./images/timer.png')} />
to add an img element with the src
prop set to the path returned by calling require
with the local image path.