tethys.backend/resources/js/notiwind.ts
Arno Kaimbacher 080c21126b - add validator for checking languages of translated titles and description
- add notification messages via notiwind.ts
- add Project.ts
- add new component TabelPersons.vue
- add additional routes
- npm updates
2023-03-24 11:41:52 +01:00

16 lines
399 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 };