Commit Graph
4 Commits
Author SHA1 Message Date
renzuzuandLuke 8eca1698cb feat(web/meu): support images as icons in context and list menu (#230)
* feat: Support image Tag in buttons

in my server. ox_lib is heavily used.
most of sample use cases for this is.
Food image,
Ingredients,
Vehicle Parts,
etc..

i believe font awesome is not enough for some use cases.

i did suggest this on v3 pending PR.
but it seems gets ignored.

here i am gonna try to push this PR.

to use this.
icon must be not existing in the options.

if both icon and image is in options, nothing will appear.

image in metadata will still appear normaly.

* tweak(web/menu): resize render image comparable to FA

* refactor(web/context): use icon prop for images

* refactor(web/list): use icon prop for images

---------

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2023-02-19 13:53:48 +01:00
Luke 4a5251b60b chore(web): add prettier and format 2022-08-27 15:58:36 +02:00
Luke 96d1f74f14 feat(client/web): Set clipboard export 2022-04-17 18:22:19 +02:00
Luke 5314b59e8b feat(nui): Initial NUI files 2022-03-13 22:30:57 +01:00