From f833534d198750c118474b835681c57727d4cc4b Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Sat, 26 Mar 2022 14:12:16 +1100 Subject: [PATCH] Chap03 -> Creating function-based component -> Children props, added explanation --- QandA/frontend/src/HomePage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/QandA/frontend/src/HomePage.tsx b/QandA/frontend/src/HomePage.tsx index 6b9f780..4288b57 100644 --- a/QandA/frontend/src/HomePage.tsx +++ b/QandA/frontend/src/HomePage.tsx @@ -8,7 +8,8 @@ export const HomePage = () => (
Unanswered Questions - + {' '} + {/* This button component is passed as children of Page */}