how to use gif in reactjs code example Example: include gif in react import logo from '../assets/loader.gif'; <img src={logo} alt="loading..." />