mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 10:46:00 +00:00
input styles
This commit is contained in:
@@ -5,10 +5,11 @@
|
||||
export let label;
|
||||
export let name;
|
||||
export let templateProps = {};
|
||||
export let focused = false;
|
||||
|
||||
const { template } = getFormContext();
|
||||
</script>
|
||||
|
||||
<svelte:component this={template} type="text" {label} {...templateProps}>
|
||||
<FromTextFieldRaw {name} {...$$restProps} />
|
||||
<FromTextFieldRaw {name} {...$$restProps} {focused} />
|
||||
</svelte:component>
|
||||
|
||||
Reference in New Issue
Block a user