feat: add names/pronouns/field entries on enter

This commit is contained in:
Sam 2023-03-31 00:11:28 +02:00
parent b1e267cb29
commit ba48ba0eb2
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
5 changed files with 97 additions and 49 deletions

View file

@ -6,6 +6,7 @@
export let tooltip: string;
export let active: boolean = false;
export let disabled: boolean = false;
export let type: string | undefined = undefined;
export let click: ((e: MouseEvent) => void) | undefined = undefined;
export let href: string | undefined = undefined;
@ -14,6 +15,6 @@
</script>
<Tooltip target={button} placement="top">{tooltip}</Tooltip>
<Button {color} {active} {disabled} {href} on:click={click} bind:inner={button}>
<Button {type} {color} {active} {disabled} {href} on:click={click} bind:inner={button}>
<Icon name={icon} />
</Button>