Files
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

11 lines
273 B
TypeScript

import { Button } from "@/components/retroui";
import { toast } from "sonner";
export default function SonnerStyleError() {
const onClick = () => {
toast.error("Oops! you ran into a pot hole");
};
return <Button onClick={onClick}>Show Toast (Error)</Button>;
}