Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SnackBarConfig

description

This interface serves as a configuration object for Snack-Bars. These are often also referred to as "Toast" notifications or error messages.

example

Using the SnackBarConfig interface

  const api = new ProfileService();
const user: User = await api.getMe();
console.log(user);



Properties

param state

Contains a completion state, e.g. "success".

param title

Contains the title of the snack-bar.

param description

Contains the text (or "description") inside the snack-bar.

since

v0.3.2

Hierarchy

  • SnackBarConfig

Index

Properties

description: string
state: string
title: string

Generated using TypeDoc