Skip to content

Commit

Permalink
[TextField] Make onBlur event optional
Browse files Browse the repository at this point in the history
  • Loading branch information
chloerice committed Jun 17, 2022
1 parent f5c2e05 commit d47a868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polaris-react/src/components/TextField/TextField.tsx
Expand Up @@ -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 =
Expand Down

0 comments on commit d47a868

Please sign in to comment.