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 258f74e commit 9510913Copy full SHA for 9510913
recursive-components/src/App.js
@@ -1,4 +1,5 @@
1
import { RedButton, SmallGreenButton } from "./components/composition";
2
+import { SmallRedButton } from "./components/partial";
3
import { Recursive } from "./components/recursive";
4
5
const myNestedObject = {
@@ -17,8 +18,10 @@ function App() {
17
18
return (
19
<>
20
<Recursive data={myNestedObject} />
- <SmallGreenButton text='I am a small green button' />
21
- <RedButton text='I am a red button' />
+ {/* <SmallGreenButton text='I am a small green button' />
22
+ <RedButton text='I am a red button' /> */}
23
+ <SmallRedButton text='I am a small red button' />
24
+
25
</>
26
);
27
}
0 commit comments