In the olde version Button had a fullWidth. The textFields have also a fullWidth.
The Button needs to have a fullWidth option.
Example: <Button fullWidth>Logion</Button>
does not apply
does not apply
| Tech | Version |
|--------------|---------|
| Material-UI | 1.0.0-beta.17 |
| React | 15.5.4 |
| browser | chrome |
| etc | |
An example of implementation: https://github.com/material-next/material-next/pull/49
Can i take care of this one?
I don't agree we should be adding it. It's on the slippery slope of utility props for things that can already easily be done with CSS.
@mbrookes The main arguments are the following:
But maybe you are right. Let's wait people up votes.
Full width button is key for us for mobile.
Not sure if it's needed in core, but we currently use a wrapper to add the fullWidth option
@sakulstra Same story on my side. But it's quite a common use case, already 10 up votes. Bootstrap has the notion of "block" (display block and width 100%). Do you think it's more appropriate?
@oliviertassinari Given that we have a similar prop on other components, and a decent number of upvotes, it seems like this should go ahead.
Most helpful comment
I don't agree we should be adding it. It's on the slippery slope of utility props for things that can already easily be done with CSS.