Switch to composition API, Add custom names (#47)

* Switch to composition API, Add custom names

* Update package.json

* Update DropdownSelect.vue
This commit is contained in:
Adrian O.V
2023-05-03 17:50:39 -04:00
committed by GitHub
parent 1135852f25
commit 5fde3c53b8
3 changed files with 129 additions and 107 deletions

View File

@@ -23,6 +23,12 @@ const value = ref(null)
placeholder="Choose Frequency"
disabled
/>
<DropdownSelect
v-model="value"
:options="['Daily', 'Weekly', 'Monthly', 'Tomorrow', 'Yesterday', 'Today', 'Biweekly', 'Tuesday', 'January']"
placeholder="Choose Frequency"
:display-name="(name) => name?.toUpperCase()"
/>
</DemoContainer>
```vue