Skip to content

Commit

Permalink
Fix typo in TextField doc
Browse files Browse the repository at this point in the history
There is a typo in TextField element documentation: the "Style Hint
Text" example is not using the right property of `styles` object.
  • Loading branch information
thomasguillory committed Nov 3, 2015
1 parent c8e622e commit d14c413
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/app/components/pages/components/text-fields.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ let TextFieldsPage = React.createClass({
style={styles.textfield}
hintText="Hint Text" /><br/>
<TextField
style={styles.textField}
style={styles.textfield}
hintText="Styled Hint Text"
hintStyle={{color: 'red'}} /><br/>
<TextField
Expand Down
1 change: 0 additions & 1 deletion docs/src/app/components/raw-code/text-fields-code.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<TextField
hintText="Hint Text" />
<TextField
style={styles.textField}
hintText="Styled Hint Text"
hintStyle={{color: 'red'}} />
<TextField
Expand Down

0 comments on commit d14c413

Please sign in to comment.