From d1bb9be3f3340bb40b189bd01e7c9a89b5a0ef7f Mon Sep 17 00:00:00 2001 From: Dominic Go <18517029+dominicstop@users.noreply.github.com> Date: Sat, 9 Jul 2022 10:08:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Docs:=20Update=20README=20-=20Ex?= =?UTF-8?q?ample=20Summary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 5a3d004..cceb527 100644 --- a/README.md +++ b/README.md @@ -988,7 +988,7 @@ export function ContextMenuViewExample01(props) { ### `ContextMenuView` Example 02 -**Summary**: A basic context menu that has 3 menu action items, each with a different "SF Symbols" icon. This examples shows how to add a system icon in the context menu action. +**Summary**: Icon Example — A basic context menu that has 3 menu action items, each with a different "SF Symbols" icon. This examples shows how to add a system icon in the context menu action.
@@ -1055,7 +1055,7 @@ export function ContextMenuViewExample02(props) { ### `ContextMenuView` Example 03 -**Summary**: This example shows a context menu that has a submenu item inside its list of menu actions. +**Summary**: Nested Menu — This example shows a context menu that has a submenu item inside its list of menu actions.
@@ -1133,7 +1133,7 @@ export function ContextMenuViewExample03(props) { ### `ContextMenuView` Example 04 -**Summary**: This example context menu showcases the `MenuActionConfig.menuAttributes` property. +**Summary**: Menu Attributes — This example context menu showcases the `MenuActionConfig.menuAttributes` property.
@@ -1214,7 +1214,7 @@ export function ContextMenuViewExample04(props) { ### `ContextMenuView` Example 05 -**Summary**: A context menu that has a in-line submenu. +**Summary**: Nested Menu + Menu Attributes — A context menu that has a in-line submenu.
@@ -1274,7 +1274,7 @@ export function ContextMenuViewExample05(props) { ### `ContextMenuView` Example 06 -**Summary**: A context menu that has a destructive submenu. +**Summary**: Menu Options — A context menu that has a destructive submenu.
@@ -1334,7 +1334,7 @@ export function ContextMenuViewExample06(props) { ### `ContextMenuView` Example 07 -**Summary**: A context menu that set to be both "destructive" and "display in-line". +**Summary**: Menu Options — A context menu that set to be both "destructive" and "display in-line".
@@ -1397,7 +1397,7 @@ export function ContextMenuViewExample07(props) { ### `ContextMenuView` Example 08 -**Summary**: A context menu with 3 actions that has `'on'`, `'off'`, and `'mixed'` `menuState`.
+**Summary**: Menu State — A context menu with 3 actions that has `'on'`, `'off'`, and `'mixed'` `menuState`.
@@ -1453,7 +1453,7 @@ export function ContextMenuViewExample08(props) { ### `ContextMenuView` Example 09 -**Summary**: An example for the `onPressMenuItem` event prop. +**Summary**: Events — An example for the `onPressMenuItem` event prop. | Notes | | ------------------------------------------------------------ | @@ -1518,7 +1518,7 @@ export function ContextMenuViewExample09(props) { ### `ContextMenuView` Example 10 -**Summary**: An example showing how to dynamically update the context menu while it's visible. In this example, the menu action changes every time the counter increments every second. +**Summary**: Dynamic Menu — An example showing how to dynamically update the context menu while it's visible. In this example, the menu action changes every time the counter increments every second.
@@ -1583,7 +1583,7 @@ export function ContextMenuViewExample10(props) { ### `ContextMenuView` Example 11 -**Summary**: An example showing how to use a custom preview for the context menu. +**Summary**: Context Menu Previews — An example showing how to use a custom preview for the context menu.
@@ -1643,7 +1643,7 @@ export function ContextMenuViewExample11(props) { ### `ContextMenuView` Example 12 -**Summary**: An example showing a custom context menu preview that dynamically changes its size due to its contents updating every second. +**Summary**: Context Menu Previews — An example showing a custom context menu preview that dynamically changes its size due to its contents updating every second.
@@ -1703,7 +1703,7 @@ export function ContextMenuViewExample12(props) { ### `ContextMenuView` Example 13 -**Summary**: An example showing how to add a subtitle to menu action. +**Summary**: Menu Action — An example showing how to add a subtitle to menu action.
@@ -1758,7 +1758,7 @@ export function ContextMenuViewExample13(props) { ### `ContextMenuView` Example 14 -**Summary**: An example that changes the exit transition of the context menu preview when its tapped using the `preferredCommitStyle ` config. +**Summary**: Context Menu Previews — An example that changes the exit transition of the context menu preview when its tapped using the `preferredCommitStyle ` config.
@@ -1801,7 +1801,7 @@ export function ContextMenuViewExample14(props) { ### `ContextMenuView` Example 15 -**Summary**: An example showing how to configure a context menu that uses targeted previews. +**Summary**: Context Menu Previews — An example showing how to configure a context menu that uses targeted previews.
@@ -2086,7 +2086,7 @@ export function ContextMenuViewExample18(props) { ### `ContextMenuView` Example 19 -**Summary**: An example showing a context menu that has a loading indicator using deferred menu elements. +**Summary**: Dynamic Menu — An example showing a context menu that has a loading indicator using deferred menu elements.