From e16aae9a82f3c25bec7a66db350f5753c1d77937 Mon Sep 17 00:00:00 2001 From: Chi-Hsuan Huang Date: Fri, 20 May 2022 14:35:48 +0800 Subject: [PATCH] Update icon type --- packages/js/customer-effort-score/src/customer-effort-score.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/js/customer-effort-score/src/customer-effort-score.tsx b/packages/js/customer-effort-score/src/customer-effort-score.tsx index 780d192065d..958da108eae 100644 --- a/packages/js/customer-effort-score/src/customer-effort-score.tsx +++ b/packages/js/customer-effort-score/src/customer-effort-score.tsx @@ -19,7 +19,7 @@ type CustomerEffortScoreProps = { onNoticeShownCallback?: () => void; onNoticeDismissedCallback?: () => void; onModalShownCallback?: () => void; - icon?: React.ReactNode; + icon?: React.ReactElement | null; }; /**