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.

I would like to suggest a change of buttonText proptype. My application uses react-intl for i18n, which renders components for translatet strings. I can pass a i18n component as buttonText, which works but creates an error because object doesn’t match string type.

My suggest for a fix would be to allow react components as valid proptype for buttonText.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
Mastermindzhcommented, May 1, 2018

No problem man, glad we could improve the product 😃

I published it to NPM with version 1.0.5.

Have a nice day!

1reaction
Mastermindzhcommented, May 1, 2018

Hey! I didn’t know that! Excellent!

I’ll proceed with merging 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Button Type In HTML: Here's Why You Should Always Declare ...
Button Types​​ There are three types of buttons: submit — Submits the current form data. (This is default.) reset — Resets data in...
Read more >
<input type="button"> - HTML: HyperText Markup Language
<input> elements of type button are rendered as simple push buttons, which can be programmed to control custom functionality anywhere on a ...
Read more >
HTML input type="button" - W3Schools
The <input type="button"> defines a clickable button (mostly used with a JavaScript to activate a script). Browser Support. The numbers in the table...
Read more >
How to change the button text of <input type="file" />?
Use Bootstrap FileStyle, which is used to style the file fields of forms. It is a plugin for a jQuery-based component library called...
Read more >
Changing Button's Text - JavaScript - permadi.com
<input type="button" value="Button Text" id="myButton1"></input>. To change the text of that button, we can use this code: document.getElementById("myButton1").
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