mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat(CommandPalette): new component (#80)
This commit is contained in:
@@ -10,7 +10,11 @@ const FormFieldWrapper = defineComponent({
|
||||
components: {
|
||||
UFormField: FormField
|
||||
},
|
||||
template: '<UFormField > <slot /> </UFormField>'
|
||||
template: `<UFormField>
|
||||
<template v-for="(_, name) in $slots" #[name]="slotData">
|
||||
<slot :name="name" v-bind="slotData" />
|
||||
</template>
|
||||
</UFormField>`
|
||||
})
|
||||
|
||||
describe('FormField', () => {
|
||||
|
||||
Reference in New Issue
Block a user