ElemeFE / ElemeFE/element-react

Table empty state (slot)?

Open
#782 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

### Description

Hi, I'm trying to migrate my current project from Vue to React, and realized the React version of Element does not support customizable empty slot. We're heavily using the empty slot to customize the table's behavior when data is empty. Could you please add support for that in element-react too?

### Solution

Add a prop for Table that accepts a custom component to be rendered when data is empty.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.