Added rename of Game, Wall and Category
This commit is contained in:
@@ -1,12 +1,28 @@
|
||||
<script lang="ts">
|
||||
interface Props {
|
||||
value: string;
|
||||
label?: string;
|
||||
}
|
||||
|
||||
let { value = $bindable() }: Props = $props();
|
||||
let { value = $bindable(), label }: Props = $props();
|
||||
|
||||
const id = crypto.randomUUID();
|
||||
</script>
|
||||
|
||||
<input type="text" name="textfield" class="borders mt-2 mb-2 w-full" bind:value />
|
||||
<div>
|
||||
{#if label}
|
||||
<label for="textfield-{id}" class="">{label}</label>
|
||||
{/if}
|
||||
<div>
|
||||
<input
|
||||
type="text"
|
||||
name="textfield"
|
||||
id="textfield-{id}"
|
||||
class="borders mt-2 mb-2 w-full"
|
||||
bind:value
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.borders {
|
||||
|
||||
Reference in New Issue
Block a user