From 854aa42d1f56b5569e3df4c22298ca35d2fcd3eb Mon Sep 17 00:00:00 2001 From: Bao Doan Date: Fri, 6 Sep 2024 12:43:33 -0500 Subject: [PATCH 1/5] Add optional delay setting on Mouse Leave event for Desktop --- .../src/templates/Home/Playground/index.tsx | 15 ++++++++++++++ packages/use-exit-intent/src/index.ts | 20 ++++++++++++++++++- packages/use-exit-intent/src/types/index.ts | 1 + .../use-exit-intent/src/utils/constants.ts | 2 +- 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a/apps/web/src/templates/Home/Playground/index.tsx b/apps/web/src/templates/Home/Playground/index.tsx index 62ae232..e02e91c 100644 --- a/apps/web/src/templates/Home/Playground/index.tsx +++ b/apps/web/src/templates/Home/Playground/index.tsx @@ -157,6 +157,21 @@ export function PlaygroundSection() { /> + + - +