Hide sidebar fully in ant design

Viewed 7238

Is there anyway to hide ant design sidebar fully on onCollapse method? One way is to set it's display to none, But I don't want that coz I want the same animation that onCollapse method provides by default.

2 Answers
Related