feat: add names/pronouns/field entries on enter
This commit is contained in:
parent
b1e267cb29
commit
ba48ba0eb2
5 changed files with 97 additions and 49 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue