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: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -220,7 +220,7 @@ Enum string values you can use for the [`MenuConfig.imageType`](#332-menuconf
220
220
* Import the enum like this: `import { ImageTypes } from "react-native-ios-context-menu";`
221
221
* And use it like this: `{ imageType: ImageTypes.SYSTEM }`
222
222
* Or you can directly pass a string like this: `{ imageType: 'SYSTEM' }`
223
-
* Check out the [`ContextMenuView` Simple Example #2](#412-contextmenuview-simple-example-2) section for example usage.
223
+
* Check out [Simple Example #2](#412-contextmenuview-simple-example-2) or [Simple Example #16](#4116-contextmenuview-simple-example-16) section for example usage.
224
224
225
225
<br>
226
226
@@ -236,7 +236,7 @@ Enum string values you can use in a [`MenuConfig`](#332-menuconfig-o
236
236
* Import the enum like this: `import { MenuOptions } from "react-native-ios-context-menu";`
237
237
* And use it like this: `{ menuOptions: [MenuOptions.destructive] }`
238
238
* Or you can directly pass a string like this: `{ menuOptions: ['destructive'] }`
239
-
* Check out `ContextMenuView`[Simple Example #5](#415-contextmenuview-simple-example-5) and [Simple Example #6](#416-contextmenuview-simple-example-6) section for example usage.
239
+
* Check out `ContextMenuView`[Simple Example #5](#415-contextmenuview-simple-example-5) and [Simple Example #6](#416-contextmenuview-simple-example-6) section for example usage.
240
240
241
241
<br>
242
242
@@ -252,7 +252,7 @@ Enum string values you can use in a [`MenuAction`](#331-menuaction-object)
252
252
* Import the enum like this: `import { MenuElementAtrributes } from "react-native-ios-context-menu";`
253
253
* And use it like this: `menuAttributes: [MenuElementAtrributes.destructive]`
254
254
* Or you can directly pass a string like this: `menuAttributes: ['destructive']`
255
-
* Check out [Simple Example #4](#414-contextmenuview-simple-example-4) section for example usage.
255
+
* Check out [Simple Example #4](#414-contextmenuview-simple-example-4) section for example usage.
256
256
257
257
<br>
258
258
@@ -269,7 +269,7 @@ Enum string values you can use in a [`MenuAction`](#331-menuaction-object)
269
269
* Import the enum like this: `import { UIMenuElementState } from "react-native-ios-context-menu";`
270
270
* And use it like this: `{ menuState: UIMenuElementState.on }`
271
271
* Or you can directly pass a string like this: `{ menuState: 'on' }`
272
-
* Check out [`ContextMenuView` Simple Example #8](#418-contextmenuview-simple-example-8) section for example usage.
272
+
* Check out [Simple Example #8](#418-contextmenuview-simple-example-8) section for example usage.
273
273
274
274
<br>
275
275
@@ -1107,7 +1107,7 @@ function ContextMenuViewSimpleExample14(props) {
1107
1107
1108
1108
<br><br>
1109
1109
1110
-
4.1.15 `ContextMenuView`[Simple Example #15](https://github.com/dominicstop/react-native-ios-context-menu/blob/master/example/src/components/ContextMenuView/ContextMenuViewSimpleExample14.js)
1110
+
#### 4.1.15 `ContextMenuView`[Simple Example #15](https://github.com/dominicstop/react-native-ios-context-menu/blob/master/example/src/components/ContextMenuView/ContextMenuViewSimpleExample15.js)
1111
1111
A example context menu configured with a "target view". The "target view" is the view where the context menu preview will transition in and out from. Essentially, instead of transitioning the entire `ContextMenuView`, you can specify a specific view.
1112
1112
* If you have a custom preview configured, then the "target view" will be used to transition your custom preview.
1113
1113
* If you don't have a custom preview configured (like this example), then the "target view" will become the context menu preview.
@@ -1170,9 +1170,10 @@ class ContextMenuViewSimpleExample15 extends React.PureComponent {
1170
1170
1171
1171
<br><br>
1172
1172
1173
-
4.1.15`ContextMenuView`[Simple Example #15](https://github.com/dominicstop/react-native-ios-context-menu/blob/master/example/src/components/ContextMenuView/ContextMenuViewSimpleExample14.js)
1173
+
#### 4.1.16`ContextMenuView`[Simple Example #16](https://github.com/dominicstop/react-native-ios-context-menu/blob/master/example/src/components/ContextMenuView/ContextMenuViewSimpleExample16.js)
1174
1174
A example context menu configured to have 3 menu actions. The first action has no icon, the second uses a `SYSTEM` SF Symbols icon, and the third uses a `ASSET` icon.
1175
1175
* If you are using an `ASSET` icon, the the string that you pass to the `imageValue` property must correspond to an image asset in your Xcode project's `xcasset` catalog.
0 commit comments