import React from 'react'; import { List, Progress, Typography } from 'antd'; import cn from 'classnames'; interface ListItem { icon?: any; title: string; progress: number; value?: number; } interface Props { list: ListItem[]; } function ListWithIcons({ list = [] }: Props) { return ( ( onClickHandler(e, row)} // Remove onClick handler to disable click interaction style={{ borderBottom: '1px dotted rgba(0, 0, 0, 0.05)', padding: '4px 10px', lineHeight: '1px' }} className={cn('rounded')} // Remove hover:bg-active-blue and cursor-pointer >
{row.name} {row.value}
)} />
)} /> ); } export default ListWithIcons;