Skip to content

Conversation

@Cahllagerfeld
Copy link
Collaborator

@Cahllagerfeld Cahllagerfeld commented Apr 10, 2024

Description

✨ Add Toast Component

Checklist

Please make sure that your pull request complies with the following requirements:

  • Code Quality:

    • 🧹 Code follows the project's coding guidelines.
  • Testing:

    • 🧪️ All existing tests pass successfully.
  • Documentation:

    • 📖 README and documentation are updated if necessary.
  • Review:

    • 👀 Code has been reviewed by a team member.
  • Security:

    • 🔒 Changes don't introduce security vulnerabilities.

Screenshots (optional)

grafik

import type { ToastActionElement, ToastProps } from "./Toast";

const TOAST_LIMIT = 2;
const TOAST_REMOVE_DELAY = 1000000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

16 min and 40 secs, is this not too much? 😅

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're actually correct, this is used inside a setTimeout it seems to be the default though. And where its used it seems fine 🤔

@Cahllagerfeld Cahllagerfeld merged commit 49804fb into main Apr 10, 2024
@Cahllagerfeld Cahllagerfeld deleted the feature/add-toast branch April 10, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants