UNPKG

agora-meeting-sdk

Version:

For publishing npm package agora-metting-sdk (Web). Get more information from https://docs.agora.io

17 lines (16 loc) 502 B
import { FC } from 'react'; import { BaseProps } from '../interface/base-props'; import './index.css'; export declare type ToastCategory = 'success' | 'error' | 'warning'; export interface ToastProps extends BaseProps { type?: 'success' | 'error' | 'warning'; text?: string; duration?: number; closeToast: CallableFunction; canStop?: boolean; } declare type ToastType = FC<ToastProps> & { show: (params: ToastProps) => void; }; export declare const Toast: ToastType; export {};