Skip to content

Commit

Permalink
💫 Update: Ex - ModalSheetViewTest01
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Oct 2, 2024
1 parent 0d9206e commit 20c6213
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion example/src/examples/ModalSheetViewTest01.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function ModalSheetViewTest01(props: ExampleItemProps) {
<ExampleItemCard
style={props.style}
index={props.index}
title={'RNIDetachedViewTest02'}
title={'ModalSheetViewTest01'}
description={[
"TBA",
]}
Expand Down Expand Up @@ -248,6 +248,17 @@ export function ModalSheetViewTest01(props: ExampleItemProps) {
"\n"
);
}}
onModalFocusChange={({nativeEvent}) => {
if(!shouldEnableModalEventsLogging) {
return;
};

console.log(
"ModalSheetViewTest01.onModalFocusChange",
"\n - nativeEvent:", nativeEvent,
"\n"
);
}}
>
<ModalSheetViewMainContent
contentContainerStyle={styles.modalContent}
Expand Down

0 comments on commit 20c6213

Please sign in to comment.