/* eslint-disable react-native/no-inline-styles */ import * as React from 'react'; import { View, Text, StyleSheet } from 'react-native'; import { Colors } from 'react-native-ios-utilities'; import { ContextMenuView } from 'react-native-ios-context-menu'; import type { ExampleItemProps } from './SharedExampleTypes'; import { ContextMenuCard } from '../components/ContextMenuCard'; export function ContextMenuAuxPreviewExample15(props: ExampleItemProps) { return ( ( Aux. Preview )} previewConfig={{ previewType: 'CUSTOM', previewSize: 'STRETCH', }} renderPreview={() => ( Custom Menu Preview )} > ); }; const styles = StyleSheet.create({ auxRootContainer: { backgroundColor: Colors.PURPLE[100], borderRadius: 10, padding: 10, width: 200, borderColor: Colors.PURPLE.A700, borderWidth: 1, }, previewRootContainer: { backgroundColor: 'white', padding: 10, }, textLabel: { fontSize: 18, fontWeight: '600', }, });