When a JupTable component is passed an empty array of rows, it should render out a default row that indicates "No data to display". This way the user doesn't just see an empty table.
Bonus points if this could include specific text:
- "You don't currently own any assets."
- "You haven't sent or recieved any transactions yet."
- "No trades to display"
This could be accomplished by passing in a "defaultRow" component or text and rendering this conditionally when rows are empty.
When a JupTable component is passed an empty array of rows, it should render out a default row that indicates "No data to display". This way the user doesn't just see an empty table.
Bonus points if this could include specific text:
This could be accomplished by passing in a "defaultRow" component or text and rendering this conditionally when rows are empty.