import _ from 'lodash'; import { List } from 'components/displays'; const { Container, Item, ItemAvatar, ItemText, ItemIcon } = List; export interface RecentListProps { items: Record[]; } export const RecentListLevelBadges = ({ items }: RecentListProps) => { return ( {_.map(items, (item, index) => ( {item.id}
{_.map(item.badges, (badge) => ( {badge.imgUrl} ))}
{item.price.toUSD} {item.price.lastUpdated} } />
))}
); }; export const RecentListBuyerSeller = ({ items }: RecentListProps) => { return ( {_.map(items, (item, index) => ( {item.id} {item.price.toUSD} {item.price.lastUpdated} } /> ))} ); };