import { Tabs, Typography } from 'antd'; import React, { useState } from 'react'; import { ShowGroupUserTable } from './addGroupObject'; const { Text } = Typography; interface PreviewGroupUserProps { strategyList: { [x: string]: any }[]; bookPlatForm: TASK_CREATE.BookPlatFormProps[] bookList: TASK_CREATE.BookListProps[] } /** * 群配置预览 * @param param0 * @returns */ const PreviewGroupUser: React.FC = ({ strategyList, bookList, bookPlatForm }) => { /****************************************/ const [activeKey, setActiveKey] = useState('1') /****************************************/ return { setActiveKey(key) }} items={strategyList.map((item, index) => { return { label:
{item.strategyName}
, key: `${index + 1}`, children:
} })} />; }; export default PreviewGroupUser;