import React from 'react';
import { ListGroup, Alert } from 'react-bootstrap';
import { Document } from './document.js';
export const DocumentsList = ({ documents }) => (
documents.length > 0 ?
{documents.map((doc) => (
))}
:
No documents yet.
);
DocumentsList.propTypes = {
documents: React.PropTypes.array,
};