Skip to content

Commit

Permalink
Merge pull request #85 from MyGooder/master
Browse files Browse the repository at this point in the history
Document `controlled` prop
  • Loading branch information
mathieudutour authored Dec 4, 2017
2 parents c2d9b6c + e694fa6 commit a4e0f24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ const App = React.createClass({

All props are optional. All props other than that will be passed to the top element.

##### controlled

`true` if you control the button state (by providing `props.state` and `props.onClick`).`false` to let the button manage its state with Promises.

##### classNamespace

Namespace for CSS classes, default is `pb-` i.e CSS classes are `pb-button`.
Expand Down

0 comments on commit a4e0f24

Please sign in to comment.