[feat] add new ooba

This commit is contained in:
kwaroran
2023-12-03 19:15:09 +09:00
parent a91977ec82
commit 390e3bcb62
5 changed files with 140 additions and 62 deletions

View File

@@ -7,10 +7,11 @@
export let name = ''
export let hiddenName = false
export let className = ""
export let grayText = false
</script>
<label
class={"flex items-center space-x-2 cursor-pointer text-textcolor" + (className ? " " + className : "")}
class={"flex items-center space-x-2 cursor-pointer" + (className ? " " + className : "") + (grayText ? " text-textcolor2" : " text-textcolor")}
class:mr-2={margin}
aria-describedby="{name} {check ? 'abled' : 'disabled'}"
>