set background from file inline style react js code example Example: Setting a background Image With React Inline Styles backgroundImage: `url(${Background})`