Files
new-phone-who-dis/phone/src/apps/sellout/components/SelloutList/SelloutList.tsx
T
2021-01-03 21:34:47 +01:00

14 lines
355 B
TypeScript

import React from "react";
import { List } from "../../../../ui/components/List";
import { SelloutItem } from "./SelloutItem";
export const SelloutList = ({ listings }) => {
return (
<List style={{ backgroundColor: '#F6F6F6' }}>
{listings.map((listing) => (
<SelloutItem key={listing.id} {...listing} />
))}
</List>
);
};