ElemeFE / ElemeFE/element-react
Table empty state (slot)?
Open
- 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
Assessment
This issue has not been assessed yet.