From 1ee52e534211b571d898f7edbdbefd1fa07107f0 Mon Sep 17 00:00:00 2001 From: Dominic Go Date: Wed, 2 Oct 2024 13:13:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AB=20Update:=20Ex=20-=20`ModalSheetVi?= =?UTF-8?q?ewTest02`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/src/examples/ModalSheetViewTest02.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/example/src/examples/ModalSheetViewTest02.tsx b/example/src/examples/ModalSheetViewTest02.tsx index eb0c8f7e..66e84584 100644 --- a/example/src/examples/ModalSheetViewTest02.tsx +++ b/example/src/examples/ModalSheetViewTest02.tsx @@ -50,6 +50,10 @@ function ModalContent(props: { logListDisplayRef.current?.addItem('onModalDidHide'); }); + useModalSheetViewEvents('onModalFocusChange', () => { + logListDisplayRef.current?.addItem('onModalFocusChange'); + }); + useModalSheetViewEvents('onModalSheetStateWillChange', () => { logListDisplayRef.current?.addItem('onModalSheetStateWillChange'); }); @@ -135,7 +139,7 @@ export function ModalSheetViewTest02(props: ExampleItemProps) {