buttonText type
See original GitHub issueI 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:
- Created 5 years ago
- Comments:10 (10 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

No problem man, glad we could improve the product 😃
I published it to NPM with version 1.0.5.
Have a nice day!
Hey! I didn’t know that! Excellent!
I’ll proceed with merging 😃