From 68934d0413d42677da0803a7aee4cd5235da1ca6 Mon Sep 17 00:00:00 2001 From: Alexey Konyshev Date: Fri, 20 Aug 2021 13:36:35 +0300 Subject: [PATCH 1/2] Fix typings path --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e48902e..5fa50e8 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "url": "https://github.com/DuDigital/react-native-zoomable-view/issues" }, "homepage": "https://github.com/DuDigital/react-native-zoomable-view#readme", - "types": "typings/index.d.ts", + "types": "src/typings/index.d.ts", "dependencies": { "prop-types": "^15.7.2", "react-native": ">=0.54.0" From 97f2255bc7154bbcdc69b6c72ac937f07a61ea26 Mon Sep 17 00:00:00 2001 From: Alexey Konyshev Date: Fri, 20 Aug 2021 13:39:56 +0300 Subject: [PATCH 2/2] Update the README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb6b930..7b132fe 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Here is a full drop in example you can use in Expo, after installing the package ```JSX import React from 'react'; import { View, Image } from 'react-native'; -import ReactNativeZoomableView from '@dudigital/react-native-zoomable-view/src/ReactNativeZoomableView'; +import { ReactNativeZoomableView } from '@dudigital/react-native-zoomable-view'; export default class App extends React.Component { /**