There was an error while loading. Please reload this page.
1 parent 06455b9 commit b8a8018Copy full SHA for b8a8018
2 files changed
docs/docs/guides/custom-context-menu.md
@@ -8,6 +8,8 @@ The `contextMenuItems` prop lets you add your own actions to the native
8
text-selection menu - the popover that e.g. shows **Copy / Paste / Cut** when the
9
user long-presses selected text.
10
11
+
12
+
13
:::info
14
15
This is a **native-only** feature (iOS and Android) - which
@@ -113,7 +115,12 @@ export default function App() {
113
115
}
114
116
117
const styles = StyleSheet.create({
- container: { gap: 12 },
118
+ container: {
119
+ flex: 1,
120
+ padding: 32,
121
+ alignItems: 'center',
122
+ justifyContent: 'center',
123
+ },
124
input: {
125
fontSize: 18,
126
color: '#232736',
docs/static/assets/context-menu-demo.webp
7.19 MB
0 commit comments