mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 00:20:00 +00:00
Added default isActive prop to Collapse component
This commit is contained in:
@@ -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