ChannelListItem.tsx 473 B

12345678910111213141516171819202122
  1. import { Space } from "antd";
  2. import type { IChannelApiData } from "../../api/Channel";
  3. import Studio, { type IStudio } from "../auth/Studio";
  4. interface IWidget {
  5. channel: IChannelApiData;
  6. studio: IStudio;
  7. showProgress?: boolean;
  8. showLike?: boolean;
  9. }
  10. const ChannelListItemWidget = ({ channel, studio }: IWidget) => {
  11. return (
  12. <Space>
  13. <Studio data={studio} hideName />
  14. {channel.name}
  15. </Space>
  16. );
  17. };
  18. export default ChannelListItemWidget;