mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01: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:
@@ -18,6 +18,7 @@ interface NotifyProps {
|
||||
title?: string;
|
||||
description?: string;
|
||||
duration?: number;
|
||||
showDuration?: boolean;
|
||||
position?: NotificationPosition;
|
||||
type?: NotificationType;
|
||||
style?: Sx;
|
||||
|
||||
Reference in New Issue
Block a user