88a6bb36ba
* Update blog-starter example * Updated content * Updated readme * Updated readme * static → assets * Add bottom margin * Add to docs * Add excerpt * Update docs/advanced-features/preview-mode.md Co-authored-by: Luis Alvarez <luis@zeit.co> Co-authored-by: Shu Uesugi <shu@chibicode.com>
8 lines
253 B
JavaScript
8 lines
253 B
JavaScript
export default function Avatar({ name, picture }) {
|
|
return (
|
|
<div className="flex items-center">
|
|
<img src={picture} className="w-12 h-12 rounded-full mr-4" alt={name} />
|
|
<div className="text-xl font-bold">{name}</div>
|
|
</div>
|
|
)
|
|
}
|