|
<Tabs style={{ width: '60%', margin: '20px' }} type="card" collapsible>
|
|
<Tabs style={{ width: '60%', margin: '20px' }} type="card" collapsible>
|
|
{[0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((item, index) => (
|
|
{[0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((item, index) => (
|
|
|
|
+ Because when Tabs renders TabPane, the default is to render display: none. At this point these components cannot get the correct width or height values. It is recommended to enable lazyRender in version 1.x, or disable keepDOM. Version 0.x needs to use tabList notation.
|