Skip to content

Commit 373c1da

Browse files
authored
Update blueprint.md - add import for registerNativeViewElement
1 parent acc1ebf commit 373c1da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ui-canvas/blueprint.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Vue.use(CanvasPlugin);
5858
5959
```ts
6060
// app/app.ts
61+
import { registerNativeViewElement } from 'svelte-native/dom';
6162
registerNativeViewElement('canvasView', () => require('@nativescript-community/ui-canvas').CanvasView);
6263
```
6364

0 commit comments

Comments
 (0)