mirror of
https://github.com/owncast/owncast.git
synced 2024-11-23 13:24:33 +03:00
19 lines
411 B
TypeScript
19 lines
411 B
TypeScript
import { Avatar, Comment } from 'antd';
|
|
import React from 'react';
|
|
import { Follower } from '../interfaces/follower';
|
|
|
|
interface Props {
|
|
follower: Follower;
|
|
}
|
|
|
|
export default function SingleFollower(props: Props) {
|
|
const { follower } = props;
|
|
|
|
return (
|
|
<Comment
|
|
author={follower.username}
|
|
avatar={<Avatar src={follower.image} alt="Han Solo" />}
|
|
content={follower.name}
|
|
/>
|
|
);
|
|
}
|