fkhadra / fkhadra/react-toastify
Stacked mode. Mobile. After being closed, notifications does not stack again.
Open
- 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
Assessment
This issue has not been assessed yet.