tomchentw/react-toastr

Lack of Documentation on preventing bounce animation

Opened this issue · 1 comments

i was unable to find a way to prevent the bounce animation. i tried using toastr.js options (which this is based on), but those options were unrecognized and did not work.

let options = {
  "showDuration": "300",
  "hideDuration": "1000",
  "showEasing": "swing",
  "hideEasing": "linear",
  "showMethod": "fadeIn",
  "hideMethod": "fadeOut"
};

container.warning(`aliens are approaching`, <h3>warning will robinson</h3>, options);

my apologies if i have missed the obvious.

bill

You can use this working example (https://codesandbox.io/s/rl0xpx7k64).
Best,
Mostafa

Edit rl0xpx7k64