Skip to content

Commit

Permalink
Alphabetize the props and methods in Input docs mui#143
Browse files Browse the repository at this point in the history
  • Loading branch information
ButuzGOL committed Dec 28, 2014
1 parent 2a73dc3 commit 77946a0
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions docs/src/app/components/pages/components/inputs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -82,35 +76,41 @@ 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',
type: 'string',
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 <ComponentInfo infoArray={info} />;
Expand All @@ -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.'
}
];

Expand Down

0 comments on commit 77946a0

Please sign in to comment.