From d47a8686155073cabd321137be612fc0fae73d8a Mon Sep 17 00:00:00 2001 From: Chloe Rice Date: Fri, 17 Jun 2022 05:59:00 -0400 Subject: [PATCH] [TextField] Make onBlur event optional --- polaris-react/src/components/TextField/TextField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polaris-react/src/components/TextField/TextField.tsx b/polaris-react/src/components/TextField/TextField.tsx index fd59e892228..7cc42b91af7 100644 --- a/polaris-react/src/components/TextField/TextField.tsx +++ b/polaris-react/src/components/TextField/TextField.tsx @@ -161,7 +161,7 @@ interface NonMutuallyExclusiveProps { /** Callback fired when input is focused */ onFocus?: (event?: React.FocusEvent) => void; /** Callback fired when input is blurred */ - onBlur?(event: React.FocusEvent): void; + onBlur?(event?: React.FocusEvent): void; } export type MutuallyExclusiveSelectionProps =