schiehll / react-alert

alerts for React
MIT License
608 stars 98 forks source link

Expose option for text-transform #113

Closed jaycincotta closed 5 years ago

jaycincotta commented 5 years ago

react-alert is a beautiful control, well-designed and a joy to use EXCEPT, the messages display in UPPERCASE. I found a Stack Overflow article with a hack to customize this behavior, but it seems so odd that for all the flexibility it exposes, that this behavior is so hidden.

Please consider exposing a option to specify the desired text-transform applied to alerts.

schiehll commented 5 years ago

Hi @jaycincotta! Since v4 we support custom alert templates, so you can actually style it however you want. There's an example in the docs here.

We are already in v5, so if you are still in v3, I highly recommend you to update as we don't support v3 anymore.