Created
May 29, 2020 22:12
-
-
Save GunaShekar02/0be37c5143b29684078d285f938c3244 to your computer and use it in GitHub Desktop.
The parent component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { RecoilRoot } from "recoil"; | |
import Details from "./components/Details/Details"; | |
import Sidebar from "./components/Sidebar/Sidebar"; | |
import "./App.css"; | |
function App() { | |
return ( | |
<RecoilRoot> | |
<div className="App"> | |
<div> | |
<Sidebar /> | |
</div> | |
<div> | |
<Details /> | |
</div> | |
</div> | |
</RecoilRoot> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment