some refactoring and enabling payment (final)

This commit is contained in:
lion
2019-02-06 14:55:48 +01:00
parent 25663ddf4a
commit 0087a7ee0c
17 changed files with 1199 additions and 459 deletions

View File

@@ -0,0 +1,13 @@
import React from "react";
import CollapseWrapperStyled from "./CollapseWrapperStyled";
export const WrapAll = components => {
return components.map(comp => (
<CollapseWrapperStyled
key={comp.props.componentName}
componentName={comp.props.componentName}
>
{comp}
</CollapseWrapperStyled>
));
};