From 1b94b948b0536ff06801a020f7e65b681f6b00e0 Mon Sep 17 00:00:00 2001 From: Askar Yusupov Date: Thu, 16 Jul 2020 17:32:13 +0500 Subject: [PATCH] feat(wrap.svelte): add Wrap.svelte component --- .../src/components/fields/NumberField.svelte | 35 ++++++++++--------- .../lib/src/components/helpers/Wrap.svelte | 16 +++++++++ 2 files changed, 35 insertions(+), 16 deletions(-) create mode 100644 packages/lib/src/components/helpers/Wrap.svelte diff --git a/packages/lib/src/components/fields/NumberField.svelte b/packages/lib/src/components/fields/NumberField.svelte index 75ca755..8ca79a7 100644 --- a/packages/lib/src/components/fields/NumberField.svelte +++ b/packages/lib/src/components/fields/NumberField.svelte @@ -1,26 +1,29 @@ {#if schema && components} - - - + + + + + {/if} diff --git a/packages/lib/src/components/helpers/Wrap.svelte b/packages/lib/src/components/helpers/Wrap.svelte new file mode 100644 index 0000000..0accfd7 --- /dev/null +++ b/packages/lib/src/components/helpers/Wrap.svelte @@ -0,0 +1,16 @@ + + + + +