Skip to content

Commit 9586231

Browse files
authored
Add missing import
When copy/pasting the displayed code sample my IDE tells me to import "Tokens" so I suggest that it's added to the docs as well :)
1 parent 0d47061 commit 9586231

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

15/umbraco-cms/reference/umbraco-flavored-markdown.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ If you wish to develop your own custom UFM component, you can use the `ufmCompon
127127
The corresponding JavaScript/TypeScript API would contain a method to render the custom label/markup.
128128

129129
```js
130+
import { Tokens } from '@umbraco-cms/backoffice/external/marked';
130131
import { UmbUfmComponentBase } from '@umbraco-cms/backoffice/ufm';
131132

132133
export class MyCustomUfmComponentApi extends UmbUfmComponentBase {

0 commit comments

Comments
 (0)