mirror of
https://github.com/maputnik/editor.git
synced 2026-11-28 12:54:20 +00:00
Added default isActive prop to Collapse component
This commit is contained in:
1 parent
c908f7dcd0
commit
bc1d0de057
1 file changed
+4
@@ -10,6 +10,10 @@ export default class CollapseAlt extends React.Component {
|
||||
children: PropTypes.element.isRequired
|
||||
}
|
||||
|
||||
static defaultProps = {
|
||||
isActive: true
|
||||
}
|
||||
|
||||
render() {
|
||||
if (accessibility.reducedMotionEnabled()) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user