Skip to content

Commit

Permalink
chore(#93): add validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Mar 12, 2024
1 parent 4c3ff6e commit 1c0ce9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default {
props: {
tag: {
type: String,
validator: (value) => ['div', 'span'].includes(value),
default: 'div'
},
trigger: {
Expand Down

0 comments on commit 1c0ce9c

Please sign in to comment.