mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 15:39:45 +08:00
![]() In some situation `Sider` is deeply rendered in Children of `Layout`, and if we don't want to judge whether `Layout` has sider, the attr `hasSider` set to `false` should properly work. However `hasSider || this.state.siders.length > 0` will ignore `hasSider` when it is `false`. |
||
---|---|---|
.. | ||
__snapshots__ | ||
demo.test.js | ||
index.test.js |