You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { CubesIcon, FolderIcon, FolderOpenIcon, LeafIcon, ExclamationCircleIcon } from '@patternfly/react-icons';
18
19
import { BulkSelect } from '@patternfly/react-component-groups';
19
20
import { DataViewToolbar } from '@patternfly/react-data-view/dist/dynamic/DataViewToolbar';
20
21
import { DataViewTable } from '@patternfly/react-data-view/dist/dynamic/DataViewTable';
@@ -71,3 +72,10 @@ It is also possible to disable row selection using the `isSelectDisabled` functi
71
72
```js file="./DataViewTableTreeExample.tsx"
72
73
73
74
```
75
+
76
+
### Empty state example
77
+
The data view table also supports displaying a custom empty state. You can pass it using the `emptyState` property and it will be displayed in case there are no rows to be rendered.
Copy file name to clipboardExpand all lines: packages/module/patternfly-docs/content/extensions/data-view/examples/Components/DataViewTableTreeExample.tsx
0 commit comments