diff --git a/example/src/App.js b/example/src/App.js
index dbcf3e0..d29cb20 100644
--- a/example/src/App.js
+++ b/example/src/App.js
@@ -2,13 +2,15 @@ import * as React from 'react';
import { StyleSheet, SafeAreaView, ScrollView } from 'react-native';
import { ContextMenuViewTest01 } from './components/ContextMenuViewTest01';
+import { ContextMenuViewTest02 } from './components/ContextMenuViewTest02';
export default function App() {
return (
-
+
+
);
@@ -18,4 +20,7 @@ const styles = StyleSheet.create({
rootContainer: {
flex: 1,
},
+ scrollviewContainer: {
+ paddingBottom: 30,
+ },
});
diff --git a/example/src/components/ContextMenuViewTest02.js b/example/src/components/ContextMenuViewTest02.js
new file mode 100644
index 0000000..917a0b3
--- /dev/null
+++ b/example/src/components/ContextMenuViewTest02.js
@@ -0,0 +1,40 @@
+import React from 'react';
+import { StyleSheet } from 'react-native';
+
+import { ExampleContextMenuItem } from './ExampleContextMenuItem';
+
+
+export class ContextMenuViewTest02 extends React.PureComponent {
+ render(){
+ return(
+ alert(key)}
+ menuConfig={{
+ menuTitle: 'ContextMenuViewTest02',
+ menuItems: [{
+ actionKey : 'key-01',
+ actionTitle: 'Action #1',
+ imageType : 'SYSTEM',
+ imageValue : 'folder',
+ }, {
+ actionKey : 'key-02' ,
+ actionTitle: 'Action #2',
+ imageType : 'SYSTEM',
+ imageValue : 'dial.fill',
+ }, {
+ actionKey : 'key-03' ,
+ actionTitle: 'Action #3',
+ imageType : 'SYSTEM' ,
+ imageValue : 'archivebox.fill',
+ }],
+ }}
+ />
+ );
+ };
+};
+
+const styles = StyleSheet.create({
+});
\ No newline at end of file