Version: 3.0.7


With NativeBase v3 we have replaced Form with FormControl and sliced into FormControl.Label, FormControl.HelperText and FormControl.ErrorMessage.

Here an example to show the code comparison.

Code Comparison#

import React, { Component } from 'react';
import { Form, Item, Input } from 'native-base';
export default class FormExample extends Component {
render() {
return (
<Item stackedLabel>
<Input />
<Item stackedLabel last>
<Input />
// need to re-write