From e54276aa6899b767969ff9b9bcaeb8183858b6e7 Mon Sep 17 00:00:00 2001 From: Victor Malov Date: Wed, 3 Mar 2021 20:56:06 +0300 Subject: [PATCH] fix: fix banner image import path (#14) --- example/src/Splash.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/Splash.tsx b/example/src/Splash.tsx index fe5c929..8a6654f 100644 --- a/example/src/Splash.tsx +++ b/example/src/Splash.tsx @@ -7,7 +7,7 @@ import { Camera, CameraPermissionStatus } from 'react-native-vision-camera'; import { CONTENT_SPACING, SAFE_AREA_PADDING } from './Constants'; // eslint-disable-next-line @typescript-eslint/no-var-requires -const BANNER_IMAGE = require('../docs/static/img/11.png') as ImageRequireSource; +const BANNER_IMAGE = require('../../docs/static/img/11.png') as ImageRequireSource; export const Splash: NavigationFunctionComponent = ({ componentId }) => { const [cameraPermissionStatus, setCameraPermissionStatus] = useState('not-determined');