diff --git a/src/ref.ts b/src/ref.ts index 20c6ba5..ad79b55 100644 --- a/src/ref.ts +++ b/src/ref.ts @@ -31,7 +31,7 @@ const reset = () => { * Gracefully `blur` the focused node via the `onBlur` method specified in the `Controller` props if it can be `blur`red. * @param force {boolean} flag to indicate whether to force removing the focused component logically or not. */ -const blur = (force: boolean) => { +const blur = (force?: boolean) => { const focusedComponent = getFocused() if (!focusedComponent) return const { node, onBlur } = focusedComponent