import * as React from 'react'
import { StyleSheet , Text as NativeComponent} from 'react-native'
import { TextProps } from './interfaces'

export class Text extends React.Component<TextProps, {}> {

    public render() {
        return (
            <NativeComponent>
                {this.props.children}
            </NativeComponent>
        )
    }

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