From e694fa6d9eff1fea95ffa53af2317001e7911011 Mon Sep 17 00:00:00 2001 From: Michel Tomas Date: Mon, 4 Dec 2017 15:14:02 +0100 Subject: [PATCH] Document `controlled` prop Add documentation for undocumented `controlled` prop --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8a2ab2b..c9322e2 100755 --- a/README.md +++ b/README.md @@ -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`.