mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-15 18:54:47 -04:00
wip
This commit is contained in:
parent
ca1c75a5a1
commit
94ffb80f49
19 changed files with 186 additions and 73 deletions
|
@ -12,6 +12,7 @@ export type AsyncAlertAction<t> = {
|
|||
disabled?: boolean;
|
||||
icon?: string;
|
||||
className?: string;
|
||||
actionLabel?: string;
|
||||
};
|
||||
|
||||
const popupWrap = document.getElementById("popup") as HTMLDivElement;
|
||||
|
@ -163,7 +164,7 @@ function addButton<t>(
|
|||
addto.appendChild(buttonWrap);
|
||||
|
||||
if (actionLabel) {
|
||||
buttonWrap.className = className;
|
||||
buttonWrap.className = className + " upgrade";
|
||||
|
||||
buttonWrap.innerHTML = icon;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue