hi,
i received this error. any idea why?
and here's my code
`import {DropfileField} from 'react-dropfile-field';
const iconClassNamesByExtension = {
'text': 'icon-file-text',
'doc': 'icon-file-word',
'xls': 'icon-file-excel',
'xlsx': 'icon-file-excel',
'pdf': 'icon-file-pdf',
'default': 'icon-file-text'
}
class ManageCaseButton extends React.Component {
....
render() {
.....
<DropfileField
ref='dropfilefield'
textField={<TextField style={{'width': '100%'}}
hintText="Type text or drop file"
floatingLabelText="Type text or drop file"
multiLine={true} />}
onDrop={this.onDrop.bind(this)}
iconClassNamesByExtension ={iconClassNamesByExtension}
maxFileCount={3}
/>
.....
}
`