@astrocoders/rn-redux-form-field

A Field wrapper using Native Base components

Usage no npm install needed!

<script type="module">
  import astrocodersRnReduxFormField from 'https://cdn.skypack.dev/@astrocoders/rn-redux-form-field';
</script>

README

@astrocoders/rn-redux-form-field

A Field wrapper using Native Base components

Install

yarn add @astrocoders/rn-redux-form-field

Usage

function SomeForm({...}){
  return (
    <Form>
      <Field
        name="email"
        keyboardType="email"
        labelStyle={{fontSize: 16}}
      />
    </Form>
  )
}

export default compose(
  reduxForm({
    form: 'someForm'
  })
)(SomeForm)