Skip to content

Commit 1a0e54b

Browse files
committed
Fix top bar nav docs
1 parent 4fcc2b4 commit 1a0e54b

File tree

1 file changed

+3
-0
lines changed
  • resources/views/docs/mobile/2/edge-components

1 file changed

+3
-0
lines changed

resources/views/docs/mobile/2/edge-components/top-bar.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ A top bar with title and action buttons. This renders at the top of the screen.
1919
<native:top-bar title="Dashboard" subtitle="Welcome back">
2020
<native:top-bar-action
2121
id="search"
22+
label="Search"
2223
icon="search"
2324
:url="route('search')"
2425
/>
2526
<native:top-bar-action
2627
id="settings"
2728
icon="settings"
29+
label="Settings"
2830
url="https://yourapp.com/my-account"
2931
/>
3032
</native:top-bar>
@@ -35,6 +37,7 @@ A top bar with title and action buttons. This renders at the top of the screen.
3537

3638
- `title` - The title text
3739
- `show-navigation-icon` - Show back/menu button (optional, default: `true`)
40+
- `label` - If more than 3 actions, iOS will display an overflow menu and the labels assigned to each item
3841
- `background-color` - Background color. Hex code (optional)
3942
- `text-color` - Text color. Hex code (optional)
4043
- `elevation` - Shadow depth 0-24 (optional) [Android]

0 commit comments

Comments
 (0)