Document Component

Lib

Toast Notify

Toast được xây dựng dựa trên thư viện ToastNotify

importimport { showToast, Toast } from "@lib/component/Toast/Toast";

Examples

Position

Type

Options

Newwest on top (play nice with bottom toast)

Basic

- Cách sử dụng Toast. - Để hiển thị toast thì chỉ cần gọi đến function showToast({type, title, description}) và truyền vào tham giá của hàm. - Tham số bao gồm: + type: ToastType + title: string + description: string