Toaster.tsx (1219B)
1 import Toast from '@/components/ui/Toast' 2 import { Toaster as RealToaster } from 'react-hot-toast' 3 4 export default function Toaster () { 5 return ( 6 <RealToaster 7 position="bottom-center" 8 reverseOrder={false} 9 > 10 {(t) => { 11 return ( 12 <Toast toast={t}/> 13 ) 14 }} 15 </RealToaster> 16 ) 17 } 18 19 /* 20 <div class="go4109123758" style="left: 0px; right: 0px; display: flex; position: absolute; transition: all 230ms cubic-bezier(0.21, 1.02, 0.73, 1) 0s; transform: translateY(0px); bottom: 0px; justify-content: center;"> 21 <div class="" style="left: 0px; right: 0px; display: flex; position: absolute; transition: all 230ms cubic-bezier(0.21, 1.02, 0.73, 1) 0s; transform: translateY(0px); bottom: 0px; justify-content: center;"> 22 23 <div class="go2072408551" style="animation: 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) 0s 1 normal forwards running go2645569136;"><div role="status" aria-live="polite" class="go3958317564">Here is your toast.</div></div></div> 24 <div class="go2072408551" style="animation: 0.4s cubic-bezier(0.06, 0.71, 0.55, 1) 0s 1 normal forwards running go1846062317;"><div role="status" aria-live="polite" class="go3958317564">Here is your toast.</div></div></div> 25 */