@antadesign/anta
    Preparing search index...

    Function createToasterUnreviewed

    • Create a toast store. Export one as your app singleton and drive it from anywhere; bind it to a mounted region with <Toaster toaster={…} />. Most apps use the built-in default, Toaster.manager, and a bare <Toaster />.

      Returns ToasterManager

      export const toaster = createToaster()
      toaster.add(() => <Card>Saved</Card>, { placement: 'bottom-right' })