ant-design/ant-design

Add back expandIconAsCell={false} in > 4.0

Open

#26 021 ouverte le 5 août 2020

Voir sur GitHub
 (4 commentaires) (3 réactions) (0 assignés)TypeScript (54 612 forks)batch import
Inactivehelp wanted

Métriques du dépôt

Stars
 (98 031 stars)
Métriques de merge PR
 (Merge moyen 3j 4h) (248 PRs mergées en 30 j)

Description

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

It used to be possible to set expandIconAsCell={false} and have the expand Icon show up in the same cell as other data. This was a much more compressed layout and better when you also are using the table select or have some rows that cannot be expanded.

Maybe it's possible to achieve this via different API, but it's not documented and is a breaking change when upgrading from 3.x

What does the proposed API look like?

Add back expandIconAsCell. Same API as before

Example

3.x

4.x

Guide contributeur