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.

Labels could be more than Strings

See original GitHub issue

It would be nice if we could pass actual components as params to skipBtnLabel and doneBtnLabel. Currently these take only strings which means we cannot customise them properly. For example if i wanted the font weight to be different, I should be apple to say

skipBtnLabel={<Text style={{fontWeight: 'normal'}}>Test</Text>}>

This does in fact work already. As shown in the bellow example:

simulator screen shot 22 jun 2016 10 42 04

As you can see the font weight has been modified… However a warning message is shown which i would rather not Force Disable.

simulator screen shot 22 jun 2016 10 42 00

Currently many values of the string are hardcoded, yes we can change the colour using another prop. Yet i feel it would be nice if we had more control.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
FuYaoDecommented, Jun 22, 2016

Sorry for waiting, I’ve solved it in #17, I do not know it can be component XD and i add nextBtnLabel now you can custom next button

1reaction
DaleLJeffersoncommented, Jun 22, 2016

How about

renderSkipBtn={() => <Text style={{fontWeight: 'normal'}}>Test</Text>}>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple Strings in on label MIPS - Stack Overflow
Put labels before each string, then create another table with all the string addresses. Another alternative could be to pad all the strings...
Read more >
strrec varlist (rule) [(rule) ...] [if] [in] [, options]
strrec recodes string variables according to rules. ... Value labels will be defined for numeric variables, assigning str (or, if specified lbl) to...
Read more >
Text and shapes — Pine Script™ v5 User ... - TradingView
Introduction¶. You may display text or shapes using five different ways with Pine Script™: plotchar() · plotshape() · plotarrow(); Labels created with ...
Read more >
Solved: Comparing two text labels before with Contains fun...
I already created both label texts which include the global variables. Does anyone know how I could check or compare if a label...
Read more >
ARIA9: Using aria-labelledby to concatenate a label ... - W3C
One particular use of aria-labelledby is for text inputs in situations where a meaningful label should consist of more than one label string....
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