diff --git a/docs/src/app/components/pages/components/inputs.jsx b/docs/src/app/components/pages/components/inputs.jsx index 85fcfb7b982f14..1ebe2556176e8d 100644 --- a/docs/src/app/components/pages/components/inputs.jsx +++ b/docs/src/app/components/pages/components/inputs.jsx @@ -58,22 +58,16 @@ var InputsPage = React.createClass({ _getPropInfo: function() { var info = [ { - name: 'multiline', - type: 'bool', - header: 'default: false', - desc: 'Input becames multiline (textarea).' - }, - { - name: 'required', - type: 'bool', - header: 'default: true', - desc: 'Is required.' + name: 'description', + type: 'string', + header: 'optional', + desc: 'Input description.' }, { - name: 'rows', - type: 'bool', - header: 'default: false', - desc: 'Count of rows in textarea related to multiline: true.' + name: 'error', + type: 'string', + header: 'optional', + desc: 'Error message.' }, { name: 'inlinePlaceholder', @@ -82,16 +76,16 @@ var InputsPage = React.createClass({ desc: 'Placeholder will be inline.' }, { - name: 'error', - type: 'string', - header: 'optional', - desc: 'Error message.' + name: 'multiline', + type: 'bool', + header: 'default: false', + desc: 'Input becames multiline (textarea).' }, { - name: 'description', + name: 'name', type: 'string', - header: 'optional', - desc: 'Input description.' + header: 'required', + desc: 'Input name.' }, { name: 'placeholder', @@ -99,18 +93,24 @@ var InputsPage = React.createClass({ header: 'optional', desc: 'Input placeholder.' }, + { + name: 'required', + type: 'bool', + header: 'default: true', + desc: 'Is required.' + }, + { + name: 'rows', + type: 'bool', + header: 'default: false', + desc: 'Count of rows in textarea related to multiline: true.' + }, { name: 'type', type: 'string', header: 'default: "text"', desc: 'Input type, current supports only text and email.' - }, - { - name: 'name', - type: 'string', - header: 'required', - desc: 'Input name.' - }, + } ]; return ; @@ -119,29 +119,29 @@ var InputsPage = React.createClass({ _getMethodInfo: function() { var info = [ { - name: 'getValue', - header: 'Input.getValue()', - desc: 'Getting value.' - }, - { - name: 'setValue', - header: 'Input.setValue("txt")', - desc: 'Setting value.' + name: 'blur', + header: 'Input.blur()', + desc: 'Blur input.' }, { name: 'clearValue', header: 'Input.clearValue()', desc: 'Clearing value.' }, - { - name: 'blur', - header: 'Input.blur()', - desc: 'Blur input.' - }, { name: 'focus', header: 'Input.focus()', desc: 'Focus input.' + }, + { + name: 'getValue', + header: 'Input.getValue()', + desc: 'Getting value.' + }, + { + name: 'setValue', + header: 'Input.setValue("txt")', + desc: 'Setting value.' } ];