Adds number input style and doc. Bumps package version. (#37)

This commit is contained in:
Zach Baird
2023-04-13 15:05:45 -04:00
committed by GitHub
parent 2ef333c66d
commit e23ace1bb0
4 changed files with 31 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ export default {
{ text: 'Text Logo', link: '/components/text-logo' },
{ text: 'Slider', link: '/components/slider' },
{ text: 'Text Inputs', link: '/components/text-inputs' },
{ text: 'Number Inputs', link: '/components/number-inputs' },
{ text: 'Search Filter', link: '/components/search-filter' },
{ text: 'Toggle', link: '/components/toggle' },
{ text: 'Promotion', link: '/components/promotion' },

View File

@@ -0,0 +1,20 @@
# Number Inputs
<script setup>
import { ref } from "vue";
const input = ref(0)
</script>
<DemoContainer>
<input v-model="input" type="number" />
</DemoContainer>
```vue
<script setup>
import { ref } from "vue";
const input = ref(0)
</script>
<input v-model="input" type="number" />
```