用create-react-app搭建的項目,我想創建一個函數定義組件,然后引用到App.js里,但是一直報錯:React' must be in scope when using JSX,官網的文檔真沒看明白怎么創建和引用function Logo(){ return <div>這里是logo</div>} 查看完整描述