wix-style-react
Version:
18 lines (15 loc) • 355 B
JavaScript
import React from 'react';
import AvatarGroup from '..';
export default () => {
const alphabet = Array.from(Array(104))
.map((e, i) => i + 65)
.map(x => String.fromCharCode(x));
return (
<AvatarGroup
type="condensed"
showDivider
items={alphabet.map(value => ({ name: `${value} T` }))}
maxItems={6}
/>
);
};