app/views/examples/components/toast/code/_preview.erb in shadcn-ui-0.0.4 vs app/views/examples/components/toast/code/_preview.erb in shadcn-ui-0.0.5
- old
+ new
@@ -1,3 +1,4 @@
- <%= render_toast header: "Scheduled: Catch up",
- description: "Friday, February 10, 2023 at 5:57 PM",
- action: render_button("Undo", variant: :outline) %>
+<%= render_toast header: "Scheduled: Catch up",
+ description: "Friday, February 10, 2023 at 5:57 PM",
+ action: render_button("Undo", variant: :outline),
+ id: "default_toast" %>