More updates everywhere related to TW v4
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
interface Props {
|
||||
log_lvl?: number;
|
||||
value: any;
|
||||
success: boolean;
|
||||
btn_text: string;
|
||||
success?: boolean;
|
||||
btn_text?: string;
|
||||
btn_title?: string;
|
||||
btn_class?: string;
|
||||
}
|
||||
@@ -43,6 +43,7 @@ const elemButton: HTMLButtonElement | null = document.querySelector('[data-butto
|
||||
|
||||
|
||||
<button
|
||||
type="button"
|
||||
data-button
|
||||
onclick={() => {
|
||||
// Call the Clipboard API
|
||||
@@ -60,5 +61,7 @@ const elemButton: HTMLButtonElement | null = document.querySelector('[data-butto
|
||||
class={btn_class}
|
||||
title={btn_title}
|
||||
>
|
||||
<!-- {@render btn_text} -->
|
||||
{btn_text}
|
||||
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user