//@ts-nocheck
import React from 'react';
import { View, Text, TextInput } from 'react-native';

export const MText = (props) => {
  return (
    <Text
      allowFontScaling={false}
      {...props}
      style={[
        {
          fontFamily: 'BeVietnamPro-Regular',
          color: '#333333',
          fontSize: 14,
        },
        props.style,
      ]}
    />
  );
};

export const MTextInput = React.forwardRef((props, ref) => (
  <TextInput
    allowFontScaling={false}
    ref={ref}
    {...props}
    style={[
      { fontFamily: 'BeVietnamPro-Regular', color: '#211F1F', fontSize: 14 },
      props.style,
    ]}
  />
));
