範例邊緣浮動邊緣浮動邊緣這是一個浮動邊緣的範例實作。邊緣的來源和目標位置會動態計算。您可以在 utils.js 檔案中找到實作細節。index.htmlApp.tsxexport default function App() { const data: string = "world" return <h1>Hello {data}</h1> } 唯讀在 Stackblitz 中開啟在 Codesandbox 中開啟功能概述深色模式