UNPKG

haptic-sound-toast

Version:

A customizable toast notification library for Next.js and React

23 lines (22 loc) 949 B
export default Toast; declare function Toast({ message, isVisible, onDismiss, duration, type, position, sound, customSound, customIcon, description, showProgress, className, vibration, customVibration, action, pauseOnHover, swipeToClose, role }: { message?: string | undefined; isVisible?: boolean | undefined; onDismiss?: (() => void) | undefined; duration?: number | undefined; type?: string | undefined; position?: string | undefined; sound?: boolean | undefined; customSound?: null | undefined; customIcon?: null | undefined; description?: string | undefined; showProgress?: boolean | undefined; className?: string | undefined; vibration?: boolean | undefined; customVibration?: null | undefined; action?: null | undefined; pauseOnHover?: boolean | undefined; swipeToClose?: boolean | undefined; role?: string | undefined; }): React.JSX.Element; import React from 'react';