* Fixed indentation.

old
Matthew 2016-10-13 08:19:21 +08:00
parent a50c1c406e
commit 7856f9241d
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ class InputTest extends React.Component {
withCustomIcon: '',
withHintCustomIcon: '',
multilineHint: 'Long Description here',
multilineRows: 'A\n\B\nC\nD\nE\nF'
multilineRows: 'A\n\B\nC\nD\nE\nF'
};
handleChange = (name, value) => {
@ -30,7 +30,7 @@ class InputTest extends React.Component {
<Input type='email' value={this.state.fixedLabel} label='Label fixed' floating={false} onChange={this.handleChange.bind(this, 'fixedLabel')} />
<Input type='text' value='Read only' readOnly label='Phone Number' />
<Input type='email' value={this.state.multilineHint} label='Description' hint='Enter Description' multiline onChange={this.handleChange.bind(this, 'multilineHint')} />
<Input type='text' value={this.state.multilineRows} label='Row Limited Description' hint='Enter Description' multiline rows={4} onChange={this.handleChange.bind(this, 'multilineRows')} />
<Input type='text' value={this.state.multilineRows} label='Row Limited Description' hint='Enter Description' multiline rows={4} onChange={this.handleChange.bind(this, 'multilineRows')} />
<Input type='text' label='Disabled field' disabled />
<Input type='tel' value={this.state.withIcon} required label='With icon' onChange={this.handleChange.bind(this, 'withIcon')} icon='phone' />
<Input type='tel' value={this.state.withCustomIcon} label='With custom icon' onChange={this.handleChange.bind(this, 'withCustomIcon')} icon='favorite' />