mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
* fix toast examples * add sonner stuff * new sonner examples added * updated * add upload POC * add * Update sonner-upload.tsx * move statusicons * Minor fix. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
10 lines
258 B
TypeScript
10 lines
258 B
TypeScript
'use client'
|
|
|
|
import { useConfig } from '@/hooks/use-config'
|
|
import { SonnerToaster as Toaster } from 'ui'
|
|
|
|
export function SonnerToaster() {
|
|
const [config] = useConfig()
|
|
return <Toaster position={config.sonnerPosition} expand={config.sonnerExpand} />
|
|
}
|