From 38f433255cd82047b13504fdeb01eff5d8bce9de Mon Sep 17 00:00:00 2001 From: wlren Date: Fri, 7 Oct 2022 10:46:31 +0800 Subject: [PATCH] [questions][fix] startAddOn for search bar --- apps/portal/src/components/questions/QuestionSearchBar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/portal/src/components/questions/QuestionSearchBar.tsx b/apps/portal/src/components/questions/QuestionSearchBar.tsx index c2850c71..bdd6e692 100644 --- a/apps/portal/src/components/questions/QuestionSearchBar.tsx +++ b/apps/portal/src/components/questions/QuestionSearchBar.tsx @@ -26,7 +26,8 @@ export default function QuestionSearchBar< isLabelHidden={true} label="Search by content" placeholder="Search by content" - startIcon={MagnifyingGlassIcon} + startAddOn={MagnifyingGlassIcon} + startAddOnType="icon" />