diff --git a/src/App.tsx b/src/App.tsx index a53698a..70362ef 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,26 +1,13 @@ -import React from 'react'; -import logo from './logo.svg'; -import './App.css'; +import { Route, Switch } from 'react-router'; -function App() { +const App = () => { return ( -
-
- logo -

- Edit src/App.tsx and save to reload. -

- - Learn React - -
-
+ + +
+
+
); -} +}; export default App; diff --git a/src/index.tsx b/src/index.tsx index ef2edf8..befb461 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,12 +1,18 @@ import React from 'react'; import ReactDOM from 'react-dom'; -import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; +import { ThemeProvider } from 'styled-components'; +import { theme } from './themes'; +import { BrowserRouter } from 'react-router-dom'; ReactDOM.render( - + + + + + , document.getElementById('root') );