import React from 'react'
import { ThemeContext } from './context'
import { Toolbar } from './Toolbar.jsx'

export default function App () {
  // Use a Provider to pass the current theme to the tree below.
  // Any component can read it, no matter how deep it is.
  // In this example, we're passing "dark" as the current value.
  return (
    <ThemeContext.Provider value="dark">
      <Toolbar />
    </ThemeContext.Provider>
  )
}
