Skip to content

Commit

Permalink
chore: update docs and example #2224
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-mihok authored and mturoci committed Feb 9, 2024
1 parent ad44ba6 commit 941b8f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion py/examples/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async def serve(q: Q):
),
ui.command(name='upload', label='Upload', icon='Upload'),
ui.command(name='share', label='Share', icon='Share'),
ui.command(name='download', label='Download', icon='Download'),
ui.command(name='download', label='Download', icon='Download', path='https://wave.h2o.ai/img/logo.svg', download=True),
],
secondary_items=[
ui.command(name='tile', caption='Grid View', icon='Tiles'),
Expand Down
4 changes: 2 additions & 2 deletions website/widgets/content/toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ q.page['example'] = ui.toolbar_card(
),
ui.command(name='upload', label='Upload', icon='Upload'),
ui.command(name='share', label='Share', icon='Share'),
ui.command(name='download', label='Download', icon='Download'),
ui.command(name='download', label='Download', icon='Download', path='https://wave.h2o.ai/img/logo.svg', download=True),
],
secondary_items=[
ui.command(name='tile', caption='Grid View', icon='Tiles'),
ui.command(name='info', caption='Info', icon='Info'),
ui.command(name='info', caption='Info', icon='Info', path='https://wave.h2o.ai'),
],
overflow_items=[
ui.command(name='move', label='Move to...', icon='MoveToFolder'),
Expand Down

0 comments on commit 941b8f5

Please sign in to comment.