Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add new prop buttonTextStyle to style default button text #264

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

manuelbieh
Copy link

Hey. First of all, great package! I was able to build a really nice looking onboarding screen for my app in no time. The issue I had, however, was that I am using a very light gray as background color so the default white button text was hardly visible. Since I did not want to define and style my own button component for all 4 button types using the renderXyzButtonprop, I added a new and optional buttonTextStyle prop.

In my case it allowed me to simply change the text color with a very simple:

<AppIntroSlider buttonTextStyle={{ color: 'black' }} [...] />

Would love to see it merged but I'm open to discussing alternative approaches or any changes you'd like to see 🙂

@JacobDel
Copy link

@Jacse can you merge this small but important MR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants