import * as React from 'react'
import { BaseFormField } from '../form-field'
import { StyleSheet } from 'react-native'

export abstract class MobileFormField<T> extends BaseFormField<T> {

    public componentDidMount() {
        // console.log('FORM FIELD DID MOUNT', this)
        this.init()
    }

    public styles() {
        return {
            height: 50,
        }
    }

    public render() {
        console.log('RENDER FORM FIELD', this.props)
        return this.renderField()
    }
}