Skip to content

Commit

Permalink
fix: fix banner image import path (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
likern authored Mar 3, 2021
1 parent 734c845 commit e54276a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/Splash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<CameraPermissionStatus>('not-determined');
Expand Down

0 comments on commit e54276a

Please sign in to comment.