fix: add offset in usePopoverProps (#5982)

This commit is contained in:
啝裳 2022-02-11 19:50:16 +08:00 committed by GitHub
parent 5789318ef4
commit 0b0ad578bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@
:tabindex="tabindex"
:append-to-body="appendToBody"
:content="content"
:offset="offset"
:show-after="showAfter"
:hide-after="hideAfter"
:auto-close="autoClose"

View File

@ -32,6 +32,10 @@ export const usePopoverProps = buildProps({
type: [String, Number],
default: 150,
},
offset: {
type: Number,
default: undefined,
},
showAfter: {
type: Number,
default: 0,