Skip to content
10 changes: 10 additions & 0 deletions src/elements/content-picker/Content.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* @flow
* @file File picker header and list component
* @author Box
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please delete this comment, you don't need the header comment at the top of the file

import * as React from 'react';
import EmptyView from '../common/empty-view';
import ProgressBar from '../common/progress-bar';
Expand Down Expand Up @@ -28,6 +34,10 @@ export interface ContentProps {

/**
* Determines if we should show the empty state
*
* @param {string} view the current view
* @param {Object} currentCollection the current collection
* @return {boolean} empty or not
*/
const isEmpty = (view: View, currentCollection: Collection): boolean => {
const { items = [] } = currentCollection;
Expand Down