Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { notifications } from '@mantine/notifications';
export const notify = {
success: (message: string, title = 'Success') =>
notifications.show({ title, message, color: 'green' }),
error: (message: string, title = 'Error') =>
notifications.show({ title, message, color: 'red' }),
info: (message: string, title = 'Info') =>
notifications.show({ title, message, color: 'blue' }),
warning: (message: string, title = 'Warning') =>
notifications.show({ title, message, color: 'yellow' }),
};