From 2cca23ad7586b0a088a952ce7822a23e7a3810cd Mon Sep 17 00:00:00 2001 From: Luke <39926192+LukeWasTakenn@users.noreply.github.com> Date: Sun, 19 Feb 2023 13:56:53 +0100 Subject: [PATCH] add icon images support info --- docs/ox_lib/Interface/Client/context.md | 1 + docs/ox_lib/Interface/Client/menu.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/ox_lib/Interface/Client/context.md b/docs/ox_lib/Interface/Client/context.md index 3d8ab797..66eb3a14 100644 --- a/docs/ox_lib/Interface/Client/context.md +++ b/docs/ox_lib/Interface/Client/context.md @@ -52,6 +52,7 @@ lib.registerContext(context) * Function that's ran when the button is clicked. * icon?: `string` * FontAwesome icon that will be displayed on the left side, works the same as notification and textui icons. + * Also supports image urls, png and webp files but are not recommend to use over font awesome icons. * iconColor?: `string` * Colour of the displayed icon. * progress?: `number` diff --git a/docs/ox_lib/Interface/Client/menu.md b/docs/ox_lib/Interface/Client/menu.md index daf13138..e47ea9b3 100644 --- a/docs/ox_lib/Interface/Client/menu.md +++ b/docs/ox_lib/Interface/Client/menu.md @@ -38,6 +38,8 @@ lib.registerMenu(data, cb) * progress?: `number` * colorScheme?: `string` * icon?: `string` + * FontAwesome icon that will be displayed on the left side, works the same as notification and textui icons. + * Also supports image urls, png and webp files but are not recommend to use over font awesome icons. * iconColor?: `string` * values?: `table` (`Array`) * If provided creates a side scrollable list.