You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
411 B
19 lines
411 B
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} |
|
/> |
|
); |
|
}
|
|
|