diff --git a/resources/views/docs/mobile/2/edge-components/top-bar.md b/resources/views/docs/mobile/2/edge-components/top-bar.md index e295cf5d..56069551 100644 --- a/resources/views/docs/mobile/2/edge-components/top-bar.md +++ b/resources/views/docs/mobile/2/edge-components/top-bar.md @@ -19,12 +19,14 @@ A top bar with title and action buttons. This renders at the top of the screen. @@ -35,6 +37,7 @@ A top bar with title and action buttons. This renders at the top of the screen. - `title` - The title text - `show-navigation-icon` - Show back/menu button (optional, default: `true`) +- `label` - If more than 5 actions, iOS will display an overflow menu and the labels assigned to each item - `background-color` - Background color. Hex code (optional) - `text-color` - Text color. Hex code (optional) - `elevation` - Shadow depth 0-24 (optional) [Android] diff --git a/resources/views/docs/mobile/2/the-basics/native-functions.md b/resources/views/docs/mobile/2/the-basics/native-functions.md index 4a8f2541..75738c02 100644 --- a/resources/views/docs/mobile/2/the-basics/native-functions.md +++ b/resources/views/docs/mobile/2/the-basics/native-functions.md @@ -49,7 +49,7 @@ section to the JSON: } ``` -Then in your JavaScript, simply import the relevant functions from the plugin: +Run `npm install`, then in your JavaScript, simply import the relevant functions from the plugin: ```js import { on, off, Microphone, Events } from '#nativephp';