mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-08 15:43:58 +00:00
feat(web): ability to style description in notifications
This commit is contained in:
1 parent
8a8700ca57
commit
21990796f5
6 files changed
+774
-21
No files matched your search
@@ -10,17 +10,12 @@ export const debugCustomNotification = () => {
|
||||
description: 'Notification description',
|
||||
type: 'success',
|
||||
id: 'pogchamp',
|
||||
},
|
||||
},
|
||||
]);
|
||||
debugData<NotificationProps>([
|
||||
{
|
||||
action: 'notify',
|
||||
data: {
|
||||
title: 'Success',
|
||||
description: 'Notification description',
|
||||
type: 'success',
|
||||
id: 'pogchamp',
|
||||
duration: 20000,
|
||||
style: {
|
||||
'.description': {
|
||||
color: 'red',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user