Rework other bots gui

This commit is contained in:
kwaroran
2024-07-30 20:48:05 +09:00
parent 064851e3b1
commit ce69aa898e
2 changed files with 352 additions and 315 deletions

View File

@@ -6,10 +6,11 @@
let open = false
export let styled = false
export let help: (keyof (typeof language.help))|'' = ''
export let disabled = false
</script>
{#if styled}
{#if disabled}
<slot />
{:else if styled}
<div class="flex flex-col mt-2">
<button class="hover:bg-selected px-6 py-2 text-lg rounded-t-md border-selected border"
class:bg-selected={open}