We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f6c75f7 + e4fcfae commit 9ec382fCopy full SHA for 9ec382f
src/App.jsx
@@ -65,7 +65,7 @@ export default function App() {
65
<Route path="/trivia" element={<Trivia />} />
66
<Route path="/jokes-quotes" element={<JokesQuotes />} />
67
<Route path="/pets" element={<Pets />} />
68
- <Route path="/covid" element={<Covid />} />
+ <Route path="/covid" element={<Covid />} />
69
</Routes>
70
</main>
71
</div>
src/components/Skeleton.jsx
@@ -0,0 +1,9 @@
1
+import React from 'react';
2
+
3
+const Skeleton = ({width, height}) => {
4
+ return (
5
+ <span className="skeleton" style={{width:`${width}`, height:`${height}`}}></span>
6
+ )
7
+}
8
9
+export default Skeleton;
0 commit comments