function struct(locals) {
  let stylesheet = locals.stylesheet

  let rows = locals.order.map(function (name) {
    return locals.inputs[name]
  })

  return (
    <View>
      {rows}
    </View>
  )
}
/**
 * Custom form wrapper to use with the Tcomb form plugin.
 *
 * @param  {object} locals - props passed from tcomb library
 * @return {object} component
 */
Custom form wrapper to use with the Tcomb form plugin.
@param  {object} locals - props passed from tcomb library
@return {object} component
Custom form wrapper to use with the Tcomb form plugin . @param { object } locals - props passed from tcomb library @return { object } component
function struct(locals) {
  let stylesheet = locals.stylesheet
  let rows = locals.order.map(function (name) {
    return locals.inputs[name]
  })
  return (
    <View>
      {rows}
    </View>
  )
}
function struct ( locals ) { let stylesheet = locals . stylesheet let rows = locals . order . map ( function ( name ) { return locals . inputs [ name ] } ) return ( < View > { rows } < / View > ) }
Custom form wrapper to use with the Tcomb form plugin.
Custom form wrapper to use with the Tcomb form plugin .