Narcissistic Piano Mover

    lolli-snackbar

    0.1.0 • Public • Published

    lolli-snackbar

    Snackbars & toasts

    Example:

    const snackbar = new Snackbar();
    snackbar.show("Your draft has been discarded.", {
      action: () => {
        console.log("action");
      },
      actionText: "Action"
    });

    Default:

    {
      timeout: 3000,
      action: function() {}
    }
    

    Styling:

    Custom property Default
    --lolli-snackbar-background-color #323232
    --lolli-snackbar-color #EEFF41

    Install

    npm i lolli-snackbar

    DownloadsWeekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • dnii
    • ardean