- Remove BMAD framework, IDE configs, dev screenshots, test files, internal docs, and backup files - Rename keep-notes/ to memento-note/ - Update all references from keep-notes to memento-note - Add Apache 2.0 license with Commons Clause (non-commercial restriction) - Add clean .gitignore and .env.docker.example
29 lines
650 B
TypeScript
29 lines
650 B
TypeScript
'use client'
|
|
|
|
import { Toaster as SonnerToaster, toast as sonnerToast } from 'sonner'
|
|
|
|
// Re-export toast functions from Sonner
|
|
export const toast = sonnerToast
|
|
|
|
// Toaster component with custom styles
|
|
export function Toaster() {
|
|
return (
|
|
<SonnerToaster
|
|
position="top-right"
|
|
expand={false}
|
|
richColors
|
|
closeButton
|
|
duration={3000}
|
|
className="toaster"
|
|
toastOptions={{
|
|
classNames: {
|
|
toast: 'toast pointer-events-auto',
|
|
description: 'toast-description',
|
|
actionButton: 'toast-action-button',
|
|
closeButton: 'toast-close-button',
|
|
},
|
|
}}
|
|
/>
|
|
)
|
|
}
|