used reusable button component
This commit is contained in:
+4
-20
@@ -87,26 +87,10 @@
|
|||||||
"
|
"
|
||||||
/-->
|
/-->
|
||||||
</div>
|
</div>
|
||||||
|
{{ component "button"
|
||||||
{{/* TODO: make a css button class for this */}}
|
"Text" "Create"
|
||||||
<button class="
|
"Class" ""
|
||||||
border-thin
|
}}
|
||||||
bg-card
|
|
||||||
rounded-sm
|
|
||||||
p-[0.5em]
|
|
||||||
font-semibold
|
|
||||||
cursor-pointer
|
|
||||||
hover:underline
|
|
||||||
hover:bg-accent
|
|
||||||
disabled:bg-accent-secondary
|
|
||||||
disabled:cursor-not-allowed
|
|
||||||
disabled:no-underline
|
|
||||||
{{/*mt-[1em] mb-[1em]*/}}
|
|
||||||
">
|
|
||||||
Create
|
|
||||||
</button>
|
|
||||||
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user