Skip to content

Commit

Permalink
fix(text-field): fix typo in readme (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Goo authored Aug 1, 2018
1 parent 4959266 commit f88f180
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/text-field/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ box | Boolean | Enables box variant.
children | Element | Mandatory. The input element of the text field.
className | String | An optional class added to the `.mdc-text-field` element.
dense | Boolean | Enables dense variant.
floatingLabelClassName | String | An optional class added to the floating label element fo the text field.
floatingLabelClassName | String | An optional class added to the floating label element of the text field.
fullWidth | Boolean | Enables fullWidth variant.
helperText | Element | Helper text that appears below the text field. Use the `<HelperText>` component that comes with this package.
label | String | Mandatory. Label text that appears as the floating label or placeholder.
Expand Down
4 changes: 1 addition & 3 deletions packages/text-field/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ class TextField extends React.Component {
this.textFieldElement = React.createRef();

this.state = {
// line ripple state
activeLineRipple: false,

// root state
value: null,
classList: new Set(),
Expand All @@ -37,6 +34,7 @@ class TextField extends React.Component {
labelWidth: 0,

// line ripple state
activeLineRipple: false,
lineRippleCenter: null,

// notched outline state
Expand Down

0 comments on commit f88f180

Please sign in to comment.