Skip to content

Release 0.4.0

Compare
Choose a tag to compare
@gunnartorfis gunnartorfis released this 06 Sep 16:37
· 183 commits to main since this release

0.4.0 (2024-09-06)

Bug Fixes

  • matching sonner's api more, refactor types (eba154a)
  • reset duration on toast update (aabb673)
  • separate onDismiss & onAutoClose callbacks (9122f22)

Features

  • closeButton prop to show X or not (22b64a6)
  • custom icons (481903b)
  • custom icons (d7c4829)
  • customize toasts with styles & classNames (876eaaa)
  • dismissible prop to make a toast non-swipable nor X to close (130a1ef)
  • fully customizable, every view with style & className (9e53391)
  • invert prop (8887cd3)
  • new onAutoClose callback (dc28ea9)
  • support Infinity duration (47ac273)
  • toast.dismiss() (5b996ec)
  • unstyled prop to Toaster (ff56e30)