@holper/react-native-holper-storybook 0.6.39 → 0.6.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -122,7 +122,7 @@ const TakePicture = ({
122
122
  };
123
123
 
124
124
  const usePhoto = () => {
125
- onClose(image);
125
+ onClose(typeof image === 'object' ? image.uri : image);
126
126
  setImage(null);
127
127
  };
128
128
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "main": "lib/index.js",
2
+ "main": "lib/index.jss",
3
3
  "name": "@holper/react-native-holper-storybook",
4
4
  "description": "A component library for Holper projects",
5
- "version": "0.6.39",
5
+ "version": "0.6.40",
6
6
  "license": "MIT",
7
7
  "files": [
8
8
  "lib",