Skip to content

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

Open
manuelbieh wants to merge 2 commits intoJacse:masterfrom
unbogify:add-button-text-style-prop
Open

chore: add new prop buttonTextStyle to style default button text#264
manuelbieh wants to merge 2 commits intoJacse:masterfrom
unbogify:add-button-text-style-prop

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