mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 01:05:58 +02:00
18 lines
405 B
TypeScript
18 lines
405 B
TypeScript
import React from "react"
|
|
|
|
import * as SC from "./styles"
|
|
|
|
interface IStackedAvatarsProps {
|
|
authors: any
|
|
}
|
|
|
|
export function StackedAvatars({ authors }: IStackedAvatarsProps) {
|
|
return (
|
|
<SC.StackedAvatarsWrapper count={authors.length}>
|
|
{authors.map((author, index) => (
|
|
<SC.AuthorAvatar key={index} src={author.avatar} index={index} />
|
|
))}
|
|
</SC.StackedAvatarsWrapper>
|
|
)
|
|
}
|