fkhadra / fkhadra/react-toastify

Stacked mode. Mobile. After being closed, notifications does not stack again.

Open
#1,268 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.4k
Forks
741
PR merge metrics
No merged PRs in 30d

Description

Vid:

https://github.com/user-attachments/assets/7e298a6f-4872-481d-b4fa-3934e6864d18

Code:

`layout.tsx`
```import "./globals.css";
import { ToastBtn } from "./ToastBtn";

export default function RootLayout() {
return (





);
}
```

`ToastBtn.tsx`
```"use client";

import { ToastContainer, toast } from "react-toastify";

export const ToastBtn = () => {
const notify = () => toast("Wow so easy !");

return (


Notify !


);
};
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.