Skip to content

Commit 7bc2b3b

Browse files
authored
Update creating-custom-views-for-blocklist.md
Update another code example
1 parent fbb4896 commit 7bc2b3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

15/umbraco-cms/tutorials/creating-custom-views-for-blocklist.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ Let us create an `example-block-custom-view.ts` file with the following code:
8080
```typescript
8181
import { html, customElement, LitElement, property, css } from '@umbraco-cms/backoffice/external/lit';
8282
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api';
83-
import type { UmbBlockDataType, UmbBlockEditorCustomViewElement } from '@umbraco-cms/backoffice/extension-registry';
83+
import type { UmbBlockEditorCustomViewElement } from '@umbraco-cms/backoffice/block-custom-view';
84+
import type { UmbBlockDataType } from '@umbraco-cms/backoffice/block';
8485

8586
@customElement('example-block-custom-view')
8687
export class ExampleBlockCustomView extends UmbElementMixin(LitElement) implements UmbBlockEditorCustomViewElement {

0 commit comments

Comments
 (0)