schiehll / react-alert

alerts for React
MIT License
608 stars 98 forks source link

Apply offset to wrapper instead of AlertComponent as margin #95

Closed sbardian closed 5 years ago

sbardian commented 5 years ago

Fixes #94

schiehll commented 5 years ago

I want to keep the package as simple as possible, and I think that adding two different offset/margin option can confuse people. Also, I don't think that an alert blocking the content bellow it is a big deal.