Button default name#1243
Conversation
- fix&update gr.component - create a demo introducing shortcuts within Blocks
- tweaks
- tweaks
- fix formatting
- tweaks - fix tests
- tweaks - fix tests
- tweaks - fix tests
- add a default name in Button
- add a default name in Button
|
I think "Run" is a reasonable default, although the sole puprose of this button is to render some text, I don't think asking users to pass in a value is unreasonable. I'd be happy with either the default or making it required. |
I think it makes more sense as a required param (so buttons always get the right wording), but no super strong opinion on it. |
|
Lets make it required then, seems reasonable. |
|
If there is no strong opinion on this I would suggest we continue with default values. Check demo |
|
The string shortcut is a good point. Lets merge this. |
Description
Add a default button name since it was not looking good in default.
Before:

Now:
