juliancwirko / react-s-alert

Alerts / Notifications for React with rich configuration options
https://www.npmjs.com/package/react-s-alert
MIT License
649 stars 69 forks source link

Is fade-in and fade-out possible? #21

Open L5eoneill opened 8 years ago

L5eoneill commented 8 years ago

You have a bunch of transitions, but not opacity fade. Can this be added?

juliancwirko commented 8 years ago

Hi, I try to find some time and maybe I'll be able to add it. Thanks.

AndroidDoctorr commented 7 years ago

You can accomplish this now by copying the styles from react-s-alert/dist/s-alert-css-effects/scale.css (do not import it) into another style sheet or one that you're already using, then removing all the scale/transform properties from the keyframe definitions, then just set the Alert style to "scale"