From a2a5b7a0eddc40b60020692db0e69a79de2ac313 Mon Sep 17 00:00:00 2001 From: Dominic Go <18517029+dominicstop@users.noreply.github.com> Date: Tue, 27 Sep 2022 20:12:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=86=95=20Example=20-=20Add=20`ContextMenu?= =?UTF-8?q?ViewExample26`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/examples/ContextMenuViewExample26.tsx | 66 +++++++++++++++++++ example/src/screens/HomeScreen.tsx | 2 + 2 files changed, 68 insertions(+) create mode 100644 example/src/examples/ContextMenuViewExample26.tsx diff --git a/example/src/examples/ContextMenuViewExample26.tsx b/example/src/examples/ContextMenuViewExample26.tsx new file mode 100644 index 00000000..5fbaad5b --- /dev/null +++ b/example/src/examples/ContextMenuViewExample26.tsx @@ -0,0 +1,66 @@ +import * as React from 'react'; + +import { ContextMenuView } from 'react-native-ios-context-menu'; + +import type { ContextMenuExampleProps } from './SharedExampleTypes'; +import { ContextMenuCard } from '../components/ContextMenuCard'; + + +export function ContextMenuViewExample26(props: ContextMenuExampleProps) { + return ( + + + + ); +}; \ No newline at end of file diff --git a/example/src/screens/HomeScreen.tsx b/example/src/screens/HomeScreen.tsx index 95a6551d..3586613b 100644 --- a/example/src/screens/HomeScreen.tsx +++ b/example/src/screens/HomeScreen.tsx @@ -28,6 +28,7 @@ import { ContextMenuViewExample22 } from '../examples/ContextMenuViewExample22'; import { ContextMenuViewExample23 } from '../examples/ContextMenuViewExample23'; import { ContextMenuViewExample24 } from '../examples/ContextMenuViewExample24'; import { ContextMenuViewExample25 } from '../examples/ContextMenuViewExample25'; +import { ContextMenuViewExample26 } from '../examples/ContextMenuViewExample26'; import { ContextMenuAuxPreviewExample01 } from '../examples/ContextMenuAuxPreviewExample01'; import { ContextMenuAuxPreviewExample02 } from '../examples/ContextMenuAuxPreviewExample02'; @@ -99,6 +100,7 @@ const EXAMPLE_COMPONENTS = [ ContextMenuViewExample23, ContextMenuViewExample24, ContextMenuViewExample25, + ContextMenuViewExample26, ContextMenuAuxPreviewExample01, ContextMenuAuxPreviewExample02, ContextMenuAuxPreviewExample03,