import { Checkbox, List } from 'antd';
import React from 'react';

export function CoursePreviewTabmsg({data}){
    

    const renderItem = (item) => (
        <List.Item>
          <List.Item.Meta
            title={item.title}
            description={item.description}
          />
        </List.Item>
      );
    
    return(
        <div className='my-2'>
            <List
                dataSource={data}
                split={false}
                renderItem={renderItem}
            />
        </div>
    )
}