Skip to content

Commit

Permalink
add timing toast (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazmassa authored Jun 22, 2023
1 parent 81347da commit 185cfeb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/Toast/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ export function Toast(props: ToastProps) {

return (
<div data-testid="toast">
<Toaster position="bottom-left">
<Toaster
position="bottom-left"
containerClassName="ml-20 mb-12"
toastOptions={{
duration: 7000,
}}
>
{(t) => (
<div
className={`${theme} flex items-center w-fit p-4 text-primary bg-secondary rounded-lg shadow`}
Expand Down

0 comments on commit 185cfeb

Please sign in to comment.