question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Love this library

See original GitHub issue

Got this up and running and working perfectly in like 30 seconds. Kept me from making it myself. Thanks so much!

One suggestion: it would be nice to add more custom styles, even if it’s just a containerStyle and textStyle prop for showMessage.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lucasferreiracommented, Sep 20, 2019

Hi @nandorojo

That will be awesome, I really don’t work with TS, every effort to get this thing better in our lib will be very welcome!

1reaction
lucasferreiracommented, Sep 11, 2019

Hi @nandorojo

You’re welcome 😉

About your suggestion it’s already possible to do it, look in to the source of FlashMessage.js: https://github.com/lucasferreira/react-native-flash-message/blob/master/src/FlashMessage.js#L531

So you can pass some props with showMessage method:

showMessage({
  message: "Hello",
  titleStyle: { color: 'red' },
  textStyle: { fontSize: 32 },
  style: { padding: 40 }
});
Read more comments on GitHub >

github_iconTop Results From Across the Web

Love Library - UNL Libraries
Visit the Love Study Spaces web page for more information about study room capacity, technology, and where to find open and quiet study...
Read more >
Love in the Library: Tokuda-Hall, Maggie, Imamura, Yas
Set in an incarceration camp where the United States cruelly detained Japanese Americans during WWII and based on true events, this moving love...
Read more >
Love in the Library by Maggie Tokuda-Hall: 9781536204308
Set in an incarceration camp where the United States cruelly detained Japanese Americans during WWII and based on true events, this moving love...
Read more >
I Love Libraries: Home
Supporting one of our nation's most important resources.
Read more >
I Love Libraries - YouTube
ILoveLibraries.org is a website designed for the people who use and love libraries. We want to keep you informed about everything libraries have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found