Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Common/StyledCollapse.js
Show First 20 Lines • Show All 137 Lines • ▼ Show 20 Lines | return ( | ||||
{children} | {children} | ||||
</Panel> | </Panel> | ||||
</AdvancedCollapse> | </AdvancedCollapse> | ||||
</CollapseCtn> | </CollapseCtn> | ||||
); | ); | ||||
}; | }; | ||||
CustomCollapseCtn.propTypes = { | CustomCollapseCtn.propTypes = { | ||||
optionalDefaultActiveKey: PropTypes.bool, | optionalDefaultActiveKey: PropTypes.arrayOf(PropTypes.string), | ||||
panelHeader: PropTypes.string, | panelHeader: PropTypes.string, | ||||
children: PropTypes.node, | children: PropTypes.node, | ||||
optionalKey: PropTypes.string, | optionalKey: PropTypes.string, | ||||
}; | }; |