function NoFilesMessage({ href, inSubfolder }) {
  const documentContext = inSubfolder ? 'folder' : 'course';
  return (
    <div>
      There are no PDFs in this {documentContext}.{' '}
      <a href={href} target="_blank" rel="noreferrer">
        Upload some files to the {documentContext}
      </a>{' '}
      and try again.
    </div>
  );
}
/**
 * Renders a helpful message with a link to documentation when there are no
 * uploaded files.
 *
 * @param {NoFilesMessageProps} props
 */
Renders a helpful message with a link to documentation when there are no
uploaded files.


Renders a helpful message with a link to documentation when there are no uploaded files .
function NoFilesMessage({ href, inSubfolder }) {
  const documentContext = inSubfolder ? 'folder' : 'course';
  return (
    <div>
      There are no PDFs in this {documentContext}.{' '}
      <a href={href} target="_blank" rel="noreferrer">
        Upload some files to the {documentContext}
      </a>{' '}
      and try again.
    </div>
  );
}
function NoFilesMessage ( { href , inSubfolder } ) { const documentContext = inSubfolder ? 'folder' : 'course' ; return ( < div > 
      There are no PDFs in this  { documentContext } . { ' ' } < a href = { href } target = "_blank" rel = "noreferrer" > 
        Upload some files to the  { documentContext } < / a > { ' ' } 
      and try again.
     < / div > ) ; }
Renders a helpful message with a link to documentation when there are no
 uploaded files.
Renders a helpful message with a link to documentation when there are no uploaded files .