gronxb / webview-bridge

Fully Type-Safe Integration for React Native WebView and Web
https://gronxb.github.io/webview-bridge/
MIT License
222 stars 5 forks source link

fix: allow console.log to use CSS #29

Closed doyoonkim12345 closed 8 months ago

doyoonkim12345 commented 8 months ago

Allow console.log(Webview) to use CSS

By default, we can use styled console.log by CSS. To use styled console.log, the first element should be content what we want to print, and then the second element should be CSS style.

I think styling console.log is good for improving DX.

Before

image

After

image

gronxb commented 8 months ago

Thank you! I will check it out later today.

gronxb commented 8 months ago

Released in v1.3.3 🥰