feat(web): ability to style description in notifications

This commit is contained in:
LukeWasTaken
2023-05-10 16:25:30 +02:00
parent 8a8700ca57
commit 21990796f5
6 changed files with 774 additions and 21 deletions

View File

@@ -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',
},
},
},
},
]);