import React from 'react';
import SpeechItem from './speech-item';

interface SpeechContentProps {
  dataList: any[];
  loading?: boolean;
}

const SpeechContent: React.FC<SpeechContentProps> = (props) => {
  return (
    <>
      {props.dataList.map((item) => (
        <SpeechItem key={item.uid} {...item} />
      ))}
    </>
  );
};

export default React.memo(SpeechContent);
