Hei,change it to: testcomponent.js return ( <> {renderComponent} {this.state.isLoading && <Spinner />} </> );. Spinner.js
確定! 回上一頁