Created
April 3, 2020 13:12
-
-
Save binhtran04/1b3349726daf811a7bc3da81d6e8e18b to your computer and use it in GitHub Desktop.
Movies App component
This file contains hidden or 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 { Movies } from './Movies'; | |
import { MoviesProvider } from './MoviesContext'; | |
import { NewMovie } from './NewMovie'; | |
import './App.scss'; | |
export const App = () => { | |
return ( | |
<div className="App"> | |
<MoviesProvider> | |
<NewMovie /> | |
<Movies /> | |
</MoviesProvider> | |
</div> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment