diff --git a/example/src/examples/ContextMenuViewExample19.tsx b/example/src/examples/ContextMenuViewExample19.tsx index 58a6cd8..5730437 100644 --- a/example/src/examples/ContextMenuViewExample19.tsx +++ b/example/src/examples/ContextMenuViewExample19.tsx @@ -1,6 +1,6 @@ /* eslint-disable react-native/no-inline-styles */ import * as React from 'react'; -import { Alert, View, Text } from 'react-native'; +import { Alert, View, Text, StyleSheet } from 'react-native'; import { ContextMenuView } from 'react-native-ios-context-menu'; @@ -26,14 +26,16 @@ export function ContextMenuViewExample19(props: ContextMenuExampleProps) { }], }} renderAuxillaryPreview={() => ( - - + }]}> + Hello World @@ -55,4 +57,15 @@ export function ContextMenuViewExample19(props: ContextMenuExampleProps) { /> ); -}; \ No newline at end of file +}; + +const styles = StyleSheet.create({ + auxRootContainer: { + backgroundColor: 'white', + }, + textLabel: { + fontWeight: 'bold', + borderRadius: 10, + padding: 10, + }, +}); \ No newline at end of file