import React from 'react';
import {Text, View, StyleSheet} from 'react-native';
import FeedBackView from './view';

const FeedBack = (props) => {
  const [dataList, setDataList] = React.useState([
      {
        "classCode": "ATTT2024.1",
        "evaluationOpenDate": "15/07/2025",
        "gpa": 4.0
      },
      {
        "classCode": "IS2024.IP57.1",
        "evaluationOpenDate": "15/07/2025",
        "gpa": 3.0
      },
      {
        "classCode": "BGF197.47.1",
        "evaluationOpenDate": "15/07/2025",
        "gpa": 3.5
      },
      {
        "classCode": "CS301.12.3",
        "evaluationOpenDate": "15/07/2025",
        "gpa": 2.8
      },
      {
        "classCode": "MA205.C33.2",
        "evaluationOpenDate": "15/07/2025",
        "gpa": 3.7
      }
    
  ]);
  return (
    <FeedBackView dataList={dataList} setDataList={setDataList}/>
  );
};

export default FeedBack;
