Skip to content

Commit

Permalink
Button documentation fix (#7726)
Browse files Browse the repository at this point in the history
* Button doc fix

* The true fix
  • Loading branch information
the-noob authored and oliviertassinari committed Aug 10, 2017
1 parent 787a44f commit 2dbb1cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/component-api/Button/Button.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
| color | union:&nbsp;'default', 'inherit', 'primary', 'accent', 'contrast'<br> | 'default' | The color of the component. It's using the theme palette when that makes sense. |
| component | union:&nbsp;string<br>&nbsp;Function<br> | | The component used for the root node. Either a string to use a DOM element or a component. The default value is a `button`. |
| dense | boolean | false | Uses a smaller minWidth, ideal for things like card actions. |
| disableFocusRipple | boolean | false | If `true`, the keyboard focus ripple will be disabled. `ripple` must also be true. |
| disableFocusRipple | boolean | false | If `true`, the keyboard focus ripple will be disabled. `disableRipple` must also be true. |
| disableRipple | boolean | false | If `true`, the ripple effect will be disabled. |
| disabled | boolean | false | If `true`, the button will be disabled. |
| fab | boolean | false | If `true`, well use floating action button styling. |
Expand Down
2 changes: 1 addition & 1 deletion src/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export type Props = {
disabled?: boolean,
/**
* If `true`, the keyboard focus ripple will be disabled.
* `ripple` must also be true.
* `disableRipple` must also be true.
*/
disableFocusRipple?: boolean,
/**
Expand Down

0 comments on commit 2dbb1cb

Please sign in to comment.