score:4

import ThemeTogglerButton from "./ThemeTogglerButton";

const App = () => (
  <ThemeContext.Provider value={...}>
    <ThemeTogglerButton />
  </ThemeContext.Provider>
)

Related Query

More Query from same tag