Skip to content

Commit

Permalink
improve the transitionOpacity type (#1)
Browse files Browse the repository at this point in the history
Co-authored-by: bcastlel <[email protected]>
  • Loading branch information
bcastlel and bcastlel authored Jan 10, 2024
1 parent 6740283 commit b9a0297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ interface UseFixedHeaderOptions {
*
* @default false
*/
transitionOpacity: Ref<boolean> | boolean
transitionOpacity: boolean | Ref<boolean> | ComputedRef<boolean>
}
```

Expand Down
2 changes: 1 addition & 1 deletion packages/vue-use-fixed-header/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ export interface UseFixedHeaderOptions<T = any> {
*
* @default false
*/
transitionOpacity: boolean
transitionOpacity: boolean | Ref<boolean> | ComputedRef<boolean>
}

0 comments on commit b9a0297

Please sign in to comment.