例スタイリングStyled ComponentsStyled Componentsこの例では、styled componentsを使用して、ダークモードとライトモードを実装する方法を示します。index.htmlApp.tsxexport default function App() { const data: string = "world" return <h1>Hello {data}</h1> } 読み取り専用Stackblitzで開くCodesandboxで開くコンテキストメニュー