Skip to content

Commit 81f702e

Browse files
committed
deprecated message
1 parent b6efbb1 commit 81f702e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/uui-caret/lib/uui-caret.element.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ export class UUICaretElement extends LitElement {
3434
@property({ type: Boolean, reflect: true })
3535
public open = false;
3636

37+
constructor() {
38+
super();
39+
console.error(
40+
'´uui-caret´ is deprecated, please use ´uui-symbol-expand´ or ´uui-symbol-sort´'
41+
);
42+
}
43+
3744
render() {
3845
return html`<svg viewBox="0 0 512 512">
3946
<path d="M 255.125 400.35 L 88.193 188.765 H 422.055 Z"></path>

0 commit comments

Comments
 (0)