Add Image to example
This commit is contained in:
parent
a3b48f4951
commit
18d5400f50
@ -1,5 +1,5 @@
|
|||||||
<div>
|
<div>
|
||||||
<img align="right" width="35%" src="../docs/static/img/example.png">
|
<img align="right" width="35%" src="../../docs/static/img/example.png">
|
||||||
|
|
||||||
<h1>Vision Camera playground</h1>
|
<h1>Vision Camera playground</h1>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ import { CONTENT_SPACING, SAFE_AREA_PADDING } from './Constants';
|
|||||||
import type { Routes } from './Routes';
|
import type { Routes } from './Routes';
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
const BANNER_IMAGE = require('../../docs/static/img/11.png') as ImageRequireSource;
|
const BANNER_IMAGE = require('./img/11.png') as ImageRequireSource;
|
||||||
|
|
||||||
type Props = NativeStackScreenProps<Routes, 'PermissionsPage'>;
|
type Props = NativeStackScreenProps<Routes, 'PermissionsPage'>;
|
||||||
export function PermissionsPage({ navigation }: Props): React.ReactElement {
|
export function PermissionsPage({ navigation }: Props): React.ReactElement {
|
||||||
|
BIN
package/example/src/img/11.png
Normal file
BIN
package/example/src/img/11.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 160 KiB |
Loading…
Reference in New Issue
Block a user