Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added block prop to Raised Button #927

Closed
wants to merge 1 commit into from

Conversation

Zadielerick
Copy link
Contributor

No description provided.

@hai-cea
Copy link
Member

hai-cea commented Jun 24, 2015

@Zadielerick I think we should call this prop fullWidth.

@hai-cea
Copy link
Member

hai-cea commented Jun 24, 2015

@Zadielerick Please put props in alphabetical order in the docs.

@Zadielerick Zadielerick deleted the blockButton branch June 24, 2015 19:25
@emptycrown
Copy link

Can this prop also be added to FlatButton? It doesn't seem to work at the moment.

@Shahrukh-Zindani
Copy link

@emptycrown fullWidth prop does exist in FlatButton. Check this out http://www.material-ui.com/#/components/flat-button to see how you can use it or post your code showing what you are doing.

@emptycrown
Copy link

emptycrown commented Mar 20, 2017

Hi, thanks for the reply. Yes I saw the prop in the documentation, but there seems to be a bug in that it's not actually implemented. When I switch to RaisedButton, it works fine.

Here is my code:

<div> <Link to='/planning' > <FlatButton label="Planning" fullWidth={true} /> </Link> </div>

It results in the error:
"Warning: Unknown prop fullWidth on tag. Remove this prop from the element."

Please advise.

@zannager zannager added the component: button This is the name of the generic UI component, not the React module! label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: button This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants