Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for displaying empty tables with a message
Currently, if a <Table> receives zero rows, and it is not loading, it is simply hidden. This is not ideal if there are zero rows because of some filtering configured inside the table headers, which is now no longer accessible, since the whole table has been hidden. So this commit introduces an alternative behavior: if we pass an `emptyMessage` to the table, then it will not be hidden even if there are no rows, but instead, the passed message will be displayed. Please note that the default behavior doesn't change; to trigger this new behavior, the new parameter needs to be added.
- Loading branch information