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

const ExamSchedule = (props) => {
    const [dataExamSchedule, setDataExamSchedule] = useState([
        {
            id: 1,
            code_exam: 'MD001',
            code_class:'MD0081',
            poetry:'123 (7:30 - 10:30)',
            time_exam:'2025-08-05',
            class_exam:'A98',
            day_exam:'Thứ 3',
            description: 'Bảo vệ/ DA',
        },
        {
            id: 2,
            code_exam: 'MD001',
            code_class:'MD0081',
            poetry:'123 (7:30 - 10:30)',
            time_exam:'2025-08-05',
            class_exam:'A98',
            day_exam:'Thứ 3',
            description: 'Bảo vệ/ DA',
        },
        {
            id: 3,
            code_exam: 'MD001',
            code_class:'MD0081',
            poetry:'123 (7:30 - 10:30)',
            time_exam:'2025-08-05',
            class_exam:'A98',
            day_exam:'Thứ 3',
            description: 'Bảo vệ/ DA',
        },
        {
            id: 4,
            code_exam: 'MD001',
            code_class:'MD0081',
            poetry:'123 (7:30 - 10:30)',
            time_exam:'2025-08-05',
            class_exam:'A98',
            day_exam:'Thứ 3',
            description: 'Bảo vệ/ DA',
        },
        {
            id: 5,
            code_exam: 'MD001',
            code_class:'MD0081',
            poetry:'123 (7:30 - 10:30)',
            time_exam:'2025-08-05',
            class_exam:'A98',
            day_exam:'Thứ 3',
            description: 'Bảo vệ/ DA',
        },
        {
            id: 6,
            code_exam: 'MD001',
            code_class:'MD0081',
            poetry:'123 (7:30 - 10:30)',
            time_exam:'2025-08-05',
            class_exam:'A98',
            day_exam:'Thứ 3',
            description: 'Bảo vệ/ DA',
        },
    ]);

    
    
  return (
    <ExamScheduleView dataExamSchedule={dataExamSchedule} />
  );
};

export default ExamSchedule;
