Skip to content

Commit 91edb17

Browse files
committed
add missing defineElement decorator
1 parent b8c6a7c commit 91edb17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/uui-keyboard-shortcut/lib/uui-key.element.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { defineElement } from '@umbraco-ui/uui-base/lib/registration';
12
import { css, html, LitElement } from 'lit';
23
import { queryAssignedNodes } from 'lit/decorators.js';
34

@@ -6,6 +7,7 @@ import { queryAssignedNodes } from 'lit/decorators.js';
67
* @element uui-key
78
* @slot - for the key name. Anything you put in here will be lowercase.
89
*/
10+
@defineElement('uui-key')
911
export class UUIKeyElement extends LitElement {
1012
static styles = [
1113
css`

0 commit comments

Comments
 (0)