ElemeFE / element-react

Element UI
https://elemefe.github.io/element-react/index
MIT License
2.83k stars 443 forks source link

isActive Collapse.item not working #1079

Open selmi-karim opened 4 years ago

selmi-karim commented 4 years ago

Description

How can we pass the isActive & onClick props to Collapse item ?? I tried this:

                        <Collapse.Item
                            onClick={()=> console.log('click')}
                            title="test"
                            isActive={true}
                        >

but it does not work.