MCPcopy Create free account
hub / github.com/kenberkeley/react-demo / App

Function App

src/components/App.js:10–21  ·  view source on GitHub ↗
({ children, location })

Source from the content-addressed store, hash-verified

8}
9
10const App = ({ children, location }) => (
11 <div>
12 <Navbar location={location} />
13
14 <div className="container">
15 {/* 相当于 Vue Demo 中的根 router-view */}
16 { children }
17 </div>
18
19 { DevTools && <DevTools /> }
20 </div>
21)
22
23export default App

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected