Snackbar
Preview
مشاهده بیشتر
نمایش پیغام مورد نظر
import Snackbar from "@repo/ui/Snackbar";
import { BadgeCheck } from "lucide-react";
<Snackbar showMoreHref="/something" onClose={() => console.log("onClose")}>
نمایش پیغام مورد نظر
<BadgeCheck />
</Snackbar>;
Installation
npx the-dig@latest add Snackbar
Props
| Prop | Type | Default |
|---|---|---|
showMoreHref | string | - |
onClose | VoidFunction | - |
children | ReactNode | - |
className | string | - |