Collapse doesn't work for prop activeKey
of type number and shows a warning of invalid prop in react hooks
#18166
Labels
🐛 Bug
Ant Design Team had proved that this is a bug.
Reproduction link
Steps to reproduce
Just open the console of the project to see the warning due to which collapse doesn't run.
What is expected?
Prop
activeKey
of type number should be accepted as listed in API of Collapse componentWhat is actually happening?
Explained
Prop of type string | string [] is working
The text was updated successfully, but these errors were encountered: