Merge pull request #156 from vasucp1207/input

Update input props schema
This commit is contained in:
Ilya Artamonov
2023-06-28 19:39:24 +03:00
committed by GitHub
3 changed files with 22 additions and 24 deletions

View File

@@ -25,9 +25,12 @@ On this page you will find all of the input types based on multiple variants, st
```vue
<script setup>
import { Input } from 'flowbite-vue'
import { ref } from 'vue'
const name = ref('')
</script>
<template>
<Input placeholder="enter your first name" label="First name" />
<Input v-modal="name" placeholder="enter your first name" label="First name" />
</template>
```

View File

@@ -1,6 +1,9 @@
<template>
<Input placeholder="enter your first name" label="First name" />
<Input v-model="name" placeholder="enter your first name" label="First name" />
</template>
<script lang="ts" setup>
import { Input } from '../../../../src/index'
import { ref } from 'vue'
const name = ref('')
</script>