Open erayerdin opened 9 months ago
An example would be:
const [ dismiss ] = useToast('message', 5000); // 5000 is duration // ... later in code somewhere ... dismiss(); // for manual dismissal
Summary
An example would be: