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 { /** 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"