Rev 1769 | Rev 1772 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react'import Feed from '../feed-template/Feed'import EmptySection from '@app/components/UI/EmptySection'import Spinner from '@app/components/UI/Spinner'const FeedList = ({ feeds = [], loading = false }) => {if (loading) {return <Spinner />}if (!feeds.length) {return <EmptySection message='No hay publicaciones' />}return (<>{feeds.map((feed) => (<Feed key={feed.feed_uuid} id={feed.feed_unique} />))}</>)}export default FeedList