We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdfb65d commit 2dce2afCopy full SHA for 2dce2af
src/elements/content-picker/Content.tsx
@@ -1,3 +1,9 @@
1
+/**
2
+ * @flow
3
+ * @file File picker header and list component
4
+ * @author Box
5
+ */
6
+
7
import * as React from 'react';
8
import EmptyView from '../common/empty-view';
9
import ProgressBar from '../common/progress-bar';
@@ -28,6 +34,10 @@ export interface ContentProps {
28
34
29
35
/**
30
36
* Determines if we should show the empty state
37
+ *
38
+ * @param {string} view the current view
39
+ * @param {Object} currentCollection the current collection
40
+ * @return {boolean} empty or not
31
41
*/
32
42
const isEmpty = (view: View, currentCollection: Collection): boolean => {
33
43
const { items = [] } = currentCollection;
0 commit comments