Skip to content

Commit d14c413

Browse files
author
Thomas Guillory
committed
Fix typo in TextField doc
There is a typo in TextField element documentation: the "Style Hint Text" example is not using the right property of `styles` object.
1 parent c8e622e commit d14c413

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/src/app/components/pages/components/text-fields.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ let TextFieldsPage = React.createClass({
242242
style={styles.textfield}
243243
hintText="Hint Text" /><br/>
244244
<TextField
245-
style={styles.textField}
245+
style={styles.textfield}
246246
hintText="Styled Hint Text"
247247
hintStyle={{color: 'red'}} /><br/>
248248
<TextField

docs/src/app/components/raw-code/text-fields-code.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<TextField
33
hintText="Hint Text" />
44
<TextField
5-
style={styles.textField}
65
hintText="Styled Hint Text"
76
hintStyle={{color: 'red'}} />
87
<TextField

0 commit comments

Comments
 (0)