Skip to main content

ToastOptions

type ToastOptions = {
content: string;
title: string;
type: ToastType;
};

options for toast message

Properties

content

content: string;

content of the toast


title

title: string;

title of the toast


type

type: ToastType;

ToastType

type of the toast message

Default

ToastType.INFO