Skip to content

Commit

Permalink
fix(TextField): Import name changed :(.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmfriedman committed Nov 16, 2017
1 parent bf889fe commit c5a24c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/docgen.json
Original file line number Diff line number Diff line change
Expand Up @@ -2361,7 +2361,7 @@
"name": "boolean"
},
"required": false,
"description": "Creates a multiline textfield."
"description": "Creates a multiline TextField."
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/TextField/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow
import * as React from 'react';
import { MDCTextfield } from '@material/textfield/dist/mdc.textfield';
import { MDCTextField } from '@material/textfield/dist/mdc.textfield';
import { noop } from '../Base/noop';
import { simpleTag, withMDC } from '../Base';

Expand Down Expand Up @@ -60,7 +60,7 @@ type TextFieldPropsT = {
SimpleTagPropsT;

export const TextField = withMDC({
mdcConstructor: MDCTextfield,
mdcConstructor: MDCTextField,
mdcElementRef: true,
defaultProps: {
inputRef: noop,
Expand Down

0 comments on commit c5a24c5

Please sign in to comment.