We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1244a3 commit 6bb9af7Copy full SHA for 6bb9af7
src/scripts/components/Main/Main.js
@@ -3,16 +3,16 @@ import Header from "../Header/Header";
3
import Step from "../Step/Step";
4
import Navbar from "../Navbar/Navbar";
5
6
-export default function Main() {
+export default function Main({ children }) {
7
return (
8
<div data-testid="main" className="main flex flex-col">
9
- <hr className="spacing spacing--2"/>
+ <hr className="spacing spacing--2" />
10
<div className="main__container flex flex-col justify-between">
11
<Header />
12
- <Step />
+ <Step >{children}</Step>
13
<Navbar />
14
</div>
15
- <hr className="spacing spacing--3"/>
+ <hr className="spacing spacing--3" />
16
17
)
18
}
0 commit comments