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

[Button] Expose disableTouchRipple #6234

Conversation

oshalygin
Copy link

This PR directly references:
#6232

  • The enhanced button wrapper exposes the option to
    disable touch ripples. This is the case with the FlatButton
    component and should be exposed on RaisedButton for consistency.
  • In addition to exposing the prop, the documentation will be updated
    automatically with the newly defined prop from the RaisedButton Component.

Please wait to merge this until the previous PR is merged and this PR is rebased.

@oshalygin oshalygin force-pushed the feature/expose-raised-button-prop-disableTouchRippe branch from 0457788 to 40b92c8 Compare February 24, 2017 22:33
@muibot muibot added PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI and removed PR: Needs Review labels Feb 24, 2017
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening that second PR.

@@ -36,6 +36,10 @@ class FlatButton extends Component {
*/
className: PropTypes.string,
/**
* If true, the element's ripple effect will be disabled.
*/
disableTouchRipple: React.PropTypes.bool,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prop types declarations should be sorted alphabetically react/sort-prop-types

@oliviertassinari oliviertassinari added component: RaisedButton docs Improvements or additions to the documentation labels Feb 24, 2017
- The enhanced button wrapper exposes an option to disable
  touch ripples.  This is the case with the IconButton and
  should be persisted to the FlatButton.
- In addition to exposing the prop, the documentation page
  will be automatically updated with the new prop for Icon Button
  as well, since the documentation for the props is pulled strictly
  from the FlatButton component
@oshalygin oshalygin force-pushed the feature/expose-raised-button-prop-disableTouchRippe branch from 40b92c8 to 90ff625 Compare February 24, 2017 23:16
- The enhanced button wrapper exposes the option to
  disable touch ripples.  This is the case with the
  FlatButton component and should be exposed on
  RaisedButton for consistency.
- In addition to exposing the prop,
  the documentation page will automatically be
  updated with the newly defined prop from the
  RaisedButton component
@oshalygin oshalygin force-pushed the feature/expose-raised-button-prop-disableTouchRippe branch from 90ff625 to 956b29a Compare February 24, 2017 23:17
@oliviertassinari oliviertassinari changed the title [RaisedButton] Expose disableTouchRipple [Button] Expose disableTouchRipple Feb 25, 2017
@oliviertassinari oliviertassinari added component: FlatButton and removed PR: Needs Review PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI labels Feb 25, 2017
@oliviertassinari oliviertassinari merged commit 3d1aef2 into mui:master Feb 25, 2017
@oliviertassinari
Copy link
Member

@oshalygin Thanks, I have merged this PR and close the other one as RaisedButton & FlatButton are deeply linked. An atomic PR update sounds better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants