UNPKG

@orca-fe/pocket

Version:

UI components by orca-team

15 lines (14 loc) 467 B
import React from 'react'; interface ToastPropsOnly { centered?: boolean; duration?: number; afterClosed?: () => void; } export interface ToastProps extends React.HTMLAttributes<HTMLDivElement>, ToastPropsOnly { } declare const Toast: { (props: ToastProps): import("react/jsx-runtime").JSX.Element; infoTop(info: string, options?: ToastPropsOnly): () => void; info(info: string, options?: ToastPropsOnly): () => void; }; export default Toast;