API

Usage

Any time you want to send a toast you need to follow these rules:

  1. Create it and set its content using Toast.message

  2. Pipe any number of Builders you want

  3. Use one of the Triggers to set its Status and send it

Status

type Status =
    | Success
    | Warning
    | Error
    | Info

Position

type Position =
    | BottomRight
    | BottomLeft
    | BottomCenter
    | TopRight
    | TopLeft
    | TopCenter

Builder

Trigger

Last updated