diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index ba3ba45..336abee 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -6,7 +6,7 @@
-
+
@@ -40,53 +40,53 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
-
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
@@ -94,31 +94,33 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
+
+
-
-
+
+
-
-
+
+
@@ -175,7 +177,6 @@
-
@@ -191,6 +192,7 @@
+
@@ -246,6 +248,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -266,7 +280,7 @@
-
+
@@ -372,7 +386,7 @@
-
+
1507080403501
@@ -404,13 +418,13 @@
-
+
-
+
@@ -486,13 +500,6 @@
-
-
-
-
-
-
-
@@ -720,124 +727,137 @@
-
+
-
-
+
+
+
-
+
-
-
+
+
+
-
+
-
-
+
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
-
-
-
-
+
+
+
-
+
-
-
+
+
-
+
-
-
-
+
+
+
+
+
diff --git a/src/collapsible.js b/src/collapsible.js
index 8101812..cdccb57 100644
--- a/src/collapsible.js
+++ b/src/collapsible.js
@@ -2,7 +2,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { compose, withProps, withContext,
- defaultProps } from 'recompose';
+ defaultProps, toClass } from 'recompose';
import { View } from 'react-native';
import { getDefaultValues, getWithProps } from './helpers';
@@ -28,4 +28,5 @@ export default compose(
withContext({
collapsibleProps: PropTypes.object,
}, props => ({ collapsibleProps: { ...props } })),
+ toClass,
)(Component);
diff --git a/src/header.js b/src/header.js
index ae90871..527eb29 100644
--- a/src/header.js
+++ b/src/header.js
@@ -2,7 +2,7 @@
import React from 'react';
import { Animated } from 'react-native';
import PropTypes from 'prop-types';
-import { compose, getContext, withProps, defaultProps } from 'recompose';
+import { compose, getContext, withProps, defaultProps, toClass } from 'recompose';
import style from './style';
import { getTranslateY } from './helpers';
@@ -31,4 +31,5 @@ export default compose(
height,
});
}),
+ toClass,
)(Component);