tethys.backend/resources/js/notiwind.ts
Arno Kaimbacher c4f4eff0d9 - daraggable crators and contributors inside Pages/Submitter/Dataset/Create.Vue
- typescript and prettier updates
- FileUpload component with dark mode and dragable uploads
- comment FontFamily in tailwind.config.js
2023-06-16 16:44:28 +02:00

13 lines
371 B
TypeScript

// notiwind.ts
import { createNotifier, NotificationGroup, defineNotificationComponent } from 'notiwind';
export type NotificationSchema = {
type: string;
title?: string;
text: string;
};
export const notify = createNotifier<NotificationSchema>();
export const Notification = defineNotificationComponent<NotificationSchema>();
export { NotificationGroup };