add input item component

This commit is contained in:
riqo 2020-10-21 16:43:10 -05:00
commit 21ff62e206
4 changed files with 49 additions and 62 deletions

View file

@ -1,5 +1,33 @@
<template>
{{ input }}
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="500"
>
<g
>
<rect
x="30"
y="10"
width="500"
height="100"
rx="20"
fill="#61b4f4"
/>
<text
font-size="14"
font-family="SF Pro"
>
<tspan
dy="16"
x="0"
>
{{ input }}
</tspan>
</text>
</g>
</svg>
</template>
<script>
@ -35,8 +63,6 @@
return {
input
}
}
})
</script>