mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-25 12:28:34 +00:00
feat(notify): show duration (#542)
* feat(notify): add option to show duration lib.notify new option `showDuration?: boolean -- Option to show duration bar` * fix(notify): allow icon color using hexadecimal values * chore(notify): show duration to default and added tinycolor2 for supporting available color formats * feat(notify): define interface for showDuration
This commit is contained in:
1 parent
468a4d820f
commit
9d08560e91
7 files changed
+96
-26
No files matched your search
@@ -8,6 +8,7 @@ export interface NotificationProps {
|
||||
description?: string;
|
||||
title?: string;
|
||||
duration?: number;
|
||||
showDuration?: boolean;
|
||||
icon?: IconProp;
|
||||
iconColor?: string;
|
||||
iconAnimation?: IconAnimation;
|
||||
|
||||
Reference in new issue
Block a user