import { useTranslate } from 'i18n-calypso'; import { VirtualizedList } from '../virtualized-list'; import CommentRow from './comment-row'; import type { PostSubscription } from '@automattic/data-stores/src/reader/types'; import './styles.scss'; type CommentListProps = { posts?: PostSubscription[]; }; const CommentList = ( { posts }: CommentListProps ) => { const translate = useTranslate(); return (
{ translate( 'Subscribed post' ) } { translate( 'Site' ) } { translate( 'Since' ) }
{ posts ? ( { ( { item, key, style, registerChild } ) => ( ) } ) : null }
); }; export default CommentList;