esbenp / react-native-clean-form

Easy react-native forms using bootstrap-like syntax with redux-form+immutablejs integration. Styled using styled-components
http://esbenp.github.io/2017/01/06/react-native-redux-form-immutable-styled-components/
MIT License
478 stars 83 forks source link

fatal SyntaxError in index.js of redux-form sub module #7

Closed SamMatthewsIsACommonName closed 7 years ago

SamMatthewsIsACommonName commented 7 years ago

Hi, on trying to import anything from the redux-form subdirectory of this libary I'm getting the following error:

screen shot 2017-02-15 at 10 15 44

I'm using react native 40.0.0

The error referred to is the bottom line here:

import createInputs from './createInputs'
import createInputCreator from './createInputCreator'
import { Field } from 'redux-form'

export {
  Input,
  Select,
  Switch
} from createInputs(createInputCreator(Field))

Is this something I might be able to just change on the syntax end? Cheers!

mwarger commented 7 years ago

this was closed with https://github.com/esbenp/react-native-clean-form/pull/10