mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-16 17:48:33 +00:00
feat(web): context and list menu progress bars (#166)
* Initial Commit Adds support for progress bars to items in both context and and list menus. * Default Color Scheme & Description Weight Added default color scheming, and made the description for context menues a lighter font weight for separating the title vs description better. * iconColor to Menu & Small Syntax Changes * Update Item.tsx * fix(web/context): syntax error also reformat with prettier * chore(web/menu): reformat with prettier Co-authored-by: Luke <sabolukas03@gmail.com>
This commit is contained in:
1 parent
6fb988245a
commit
a6f47cfe59
6 files changed
+56
-5
No files matched your search
@@ -22,6 +22,20 @@ export const debugMenu = () => {
|
||||
icon: 'tag',
|
||||
description: 'Side scroll general description',
|
||||
},
|
||||
{
|
||||
label: 'Oil Level',
|
||||
progress: 30,
|
||||
icon: 'oil-can',
|
||||
description: 'Remaining Oil: 30%',
|
||||
},
|
||||
{
|
||||
label: 'Durability',
|
||||
progress: 80,
|
||||
icon: 'car-side',
|
||||
description: 'Durability: 80%',
|
||||
colorScheme: 'blue',
|
||||
iconColor: '#55778d'
|
||||
},
|
||||
{ label: 'Option 1' },
|
||||
{ label: 'Option 2' },
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user