📌 feat: Add Support for Persistable (Non-Dismissible) Banners (#10730)

* feat: Add persistable property to banners and update related components

* refactor: Clean up Banner component and improve className handling
This commit is contained in:
Marco Beretta 2025-12-03 23:22:35 +01:00 committed by Danny Avila
parent 04a4a2aa44
commit 5b3cef6d86
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
5 changed files with 42 additions and 13 deletions

View file

@ -1139,6 +1139,7 @@ export const tBannerSchema = z.object({
createdAt: z.string(),
updatedAt: z.string(),
isPublic: z.boolean(),
persistable: z.boolean().default(false),
});
export type TBanner = z.infer<typeof tBannerSchema>;