import React, { Component } from 'react'
import ImageBackground from 'react-native-fast-image'

export class BackgroundImage_RegisterForm extends Component {

    render() {
        const props = this.props;
        return (
            <ImageBackground source={require('../../assets/images/tree_border.png')}  style={styles.backgroundImage}>
                    
                    {this.props.children}
                    
            </ImageBackground>
        )
    }
}

const styles = {
    backgroundImage: {
        
        flex: 1,
        width: null,
        height: null,
        resizeMode: 'cover'
    }
};