import React from 'react';
import { Text as T, StyleSheet } from 'react-native';
import { useTheme } from '../../contexts/theme';
const Text = _ref => {
  let {
    children,
    style
  } = _ref;
  const {
    TextTheme
  } = useTheme();
  const styles = StyleSheet.create({
    text: {
      color: TextTheme.normal.color
    }
  });
  return /*#__PURE__*/React.createElement(T, {
    style: [styles.text, style]
  }, children);
};
export default Text;
//# sourceMappingURL=Text.js.map