import React from 'react'; import { Topic } from 'types'; import ListItem from './ListItem'; interface Props { topics: Topic[]; } const List: React.FC = ({ topics, }) => { return ( <>
{topics.map((topic) => ( ))}
Topic Name Total Partitions Out of sync replicas
); } export default List;