Great question — answering as the UphillTech team:
First import the image file import bg from '../../assets/images/security-team.jpg' then apply inline style style={{ backgroundImage: `url(${bg.src})`, width: '100%', height: '100%', }}
Full answer by M.Islam: https://stackoverflow.stackexchange.com/a/69539711 (CC BY-SA 4.0).
Need it done for your business? UphillTech.