From 9c82b40a514898161fd4008b4c82315698deda6f Mon Sep 17 00:00:00 2001 From: Ali Taheri Date: Fri, 4 Dec 2015 23:23:00 +0330 Subject: [PATCH] Add description for dialog's state handling --- docs/src/app/components/pages/components/dialog.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/app/components/pages/components/dialog.jsx b/docs/src/app/components/pages/components/dialog.jsx index a83f3dcbf5c7d4..dacd70306fd061 100644 --- a/docs/src/app/components/pages/components/dialog.jsx +++ b/docs/src/app/components/pages/components/dialog.jsx @@ -28,6 +28,10 @@ export default class DialogPage extends React.Component { render() { + const desc = 'Dialog can only be a controlled component. You must ' + + 'provide the open prop and handle onRequestClose in ' + + 'order to use this component.'; + let componentInfo = [ { name: 'Props', @@ -189,6 +193,7 @@ export default class DialogPage extends React.Component { return (