import React from 'react';
import { Text as RNText, TextProps as RNTextProps, StyleSheet } from 'react-native';

type TextProps = RNTextProps & {
  children: React.ReactNode;
};

const Text: React.FC<TextProps> = ({ style, ...props }) => {
  return (
    <RNText 
      style={[styles.defaultText, style]} 
      {...props}
    />
  );
};

const styles = StyleSheet.create({
  defaultText: {
    color: 'black',
  },
});

export default Text;
