Open
Description
Hi there, I think the colon in
export default class FloatingLabel extends React.Component { static propTypes: {
is throwing error in babel. Is it also the case on your end? I am using web pack 2 with .babelrc like this
{ "presets": [ ["es2015", { "modules": false}], "react", "stage-0" ], "plugins": ["react-hot-loader/babel"] }
shouldn't it be static propTypes = {...}
Metadata
Metadata
Assignees
Labels
No labels