From b6fdcbd740807f95c994f16de3413080e6a32967 Mon Sep 17 00:00:00 2001 From: Yiqing Zhu <793831308@qq.com> 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 */}