You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/API_REFERENCE.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,8 @@ Markdown flavor. Set to `'github'` to enable GitHub Flavored Markdown table supp
172
172
173
173
Custom items to add to the text selection context menu. Items appear before the system actions (Copy, etc.). Items with `visible: false` are hidden from the menu.
174
174
175
+
> **iOS**: Requires iOS 16+. On earlier versions the prop is ignored.
@@ -182,6 +184,12 @@ Custom items to add to the text selection context menu. Items appear before the
182
184
interfaceContextMenuItem {
183
185
/** Label shown in the context menu. */
184
186
text:string;
187
+
/**
188
+
* SF Symbol name for the icon shown next to the item label.
189
+
* Supported on iOS and macOS. Ignored on Android.
190
+
* Example: 'sparkles', 'translate', 'doc.text'
191
+
*/
192
+
icon?:string;
185
193
/** Called when the item is tapped. */
186
194
onPress: (event: {
187
195
/** The selected text at the time of the press. */
@@ -393,6 +401,8 @@ Fires when the input loses focus.
393
401
394
402
Custom items to add to the text selection context menu. Items appear before the system actions (Copy, Cut, etc.). Items with `visible: false` are hidden from the menu.
395
403
404
+
> **iOS**: Requires iOS 16+. On earlier versions the prop is ignored.
0 commit comments