mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 03:54:54 +08:00
Fill out the follower component
This commit is contained in:
@ -1,9 +1,19 @@
|
||||
import { Avatar, Comment } from 'antd';
|
||||
import React from 'react';
|
||||
import { Follower } from '../interfaces/follower';
|
||||
|
||||
interface Props {
|
||||
follower: Follower;
|
||||
}
|
||||
|
||||
export default function FollowerCollection(props: Props) {
|
||||
return <div>This is a single follower</div>;
|
||||
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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user