Skip to content

Instantly share code, notes, and snippets.

@prasanna1211
Created January 25, 2018 07:20
Show Gist options
  • Save prasanna1211/cc49f077dd7e5052549162edcf68429e to your computer and use it in GitHub Desktop.
Save prasanna1211/cc49f077dd7e5052549162edcf68429e to your computer and use it in GitHub Desktop.
<Formsy.Form ref="form"> 
  {/* ... input component having value of gender */} 
    <GenderDependentComponent 
      value={defaultValue} 
      currentGender={this.refs.form.getModal().gender} 
    /> 
  </Formsy.Form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment