Skip to content

Commit

Permalink
refactor(design-system): Migrate Popover to composition API
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi committed Jun 14, 2024
1 parent 2dad9ce commit 186ac6a
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions packages/design-system/src/components/N8nPopover/Popover.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
<script lang="ts">
import { ElPopover } from 'element-plus';
import { defineComponent } from 'vue';
<script setup lang="ts">
import { ElPopover, popoverProps } from 'element-plus';
export default defineComponent({
name: 'N8nPopover',
components: {
ElPopover,
},
props: {
...ElPopover.props,
},
defineProps({
...popoverProps,
});
</script>

Expand Down

0 comments on commit 186ac6a

Please sign in to comment.