import React from "react";
import { Text, View, TouchableOpacity, StyleSheet, SafeAreaView } from "react-native";
import Header from "../../components/Header/Header";
import R from "../../assets/R";

const NewDetails = (props) => {
  const { titleNewsDetail } = props;
  return (
    <SafeAreaView style={styles.container}>
      <Header isBack title={titleNewsDetail.title} />

    <View
      style={styles.container}
    >
      <Text style={styles.container_content}>
        {titleNewsDetail.content}
      </Text>
    </View>
    </SafeAreaView>
  );
};

export default NewDetails;


const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: R.colors.white,
  },
  container_content: {
    marginHorizontal: 15,
    fontFamily: R.fonts.InterRegular,
    fontSize: R.fontsize.fontsSize12,
    fontWeight: '400',
    color: R.colors.black
  }
})