mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-06 12:07:26 +08:00
[+] Skeleton ui for transfer
This commit is contained in:
21
AquaNet/src/pages/Transfer/InputTextShort.svelte
Normal file
21
AquaNet/src/pages/Transfer/InputTextShort.svelte
Normal file
@@ -0,0 +1,21 @@
|
||||
<script lang="ts">
|
||||
export let desc: string
|
||||
export let value: string
|
||||
export let placeholder: string
|
||||
export let flex: number = 60
|
||||
</script>
|
||||
|
||||
<div class="field" style="flex: {flex}">
|
||||
<label for={desc}>{desc}</label>
|
||||
<input type="text" placeholder={placeholder} bind:value={value} id="{desc}" on:change />
|
||||
</div>
|
||||
|
||||
<style lang="sass">
|
||||
.field
|
||||
display: inline-flex
|
||||
flex-direction: column
|
||||
gap: 0.5rem
|
||||
|
||||
label
|
||||
font-weight: bold
|
||||
</style>
|
||||
Reference in New Issue
Block a user