Skip to content

Commit

Permalink
updated TextField docs with info for underlineDisabledStyle props
Browse files Browse the repository at this point in the history
  • Loading branch information
agenthunt committed Aug 24, 2015
1 parent a93002d commit 54ddc67
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/src/app/components/pages/components/text-fields.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ let TextFieldsPage = React.createClass({
header: 'optional',
desc: 'Override the inline-styles of the TextField\'s underline element when focussed.'
},
{
name: 'underlineDisabledStyle',
type: 'object',
header: 'optional',
desc: 'Override the inline-styles of the TextField\'s underline element when disabled.'
},
{
name: 'type',
type: 'string',
Expand Down Expand Up @@ -224,6 +230,11 @@ let TextFieldsPage = React.createClass({
style={styles.textfield}
hintText="Custom Underline Focus Color"
underlineFocusStyle={{borderColor: Colors.amber900}} /><br />
<TextField
style={styles.textfield}
disabled={true}
hintText="Custom Underline Disabled Style"
underlineDisabledStyle={{borderColor:Colors.purple500, borderBottom: 'solid 1px'}} /><br />
<TextField
style={styles.textfield}
hintText="Hint Text"
Expand Down

0 comments on commit 54ddc67

Please sign in to comment.