This commit is contained in:
ditiqi 2025-02-24 09:41:54 +08:00
parent 2fdb634195
commit 939d78a6ed
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
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>
)
}