I forgot React uses className instead of class . Using a play icon as the example, the working code in React is: <i className = 'fas fa-play'></i> ...
確定! 回上一頁