diff --git a/src/client/components/baseComponents/Button.ts b/src/client/components/baseComponents/Button.ts
index f65729d1c..3cb9f7a24 100644
--- a/src/client/components/baseComponents/Button.ts
+++ b/src/client/components/baseComponents/Button.ts
@@ -3,6 +3,15 @@ import { customElement, property } from "lit/decorators.js";
import { classMap } from "lit/directives/class-map.js";
import { translateText } from "../../Utils";
+@customElement("o-button")
+export class OButton extends LitElement {
+ @property({ type: String }) title = "";
+ @property({ type: String }) translationKey = "";
+ @property({ type: String }) icon = "";import { LitElement, html } from "lit";
+import { customElement, property } from "lit/decorators.js";
+import { classMap } from "lit/directives/class-map.js";
+import { translateText } from "../../Utils";
+
@customElement("o-button")
export class OButton extends LitElement {
@property({ type: String }) title = "";
@@ -17,6 +26,41 @@ export class OButton extends LitElement {
return this;
}
+ render() {
+ return html`
+
+ `;
+ }
+}
+
+ @property({ type: Boolean }) secondary = false;
+ @property({ type: Boolean }) block = false;
+ @property({ type: Boolean }) blockDesktop = false;
+ @property({ type: Boolean }) disable = false;
+
+ createRenderRoot() {
+ return this;
+ }
+
render() {
return html`