diff --git a/README.md b/README.md index 3fb0340..abed325 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ interface UseFixedHeaderOptions { * * @default false */ - transitionOpacity: Ref | boolean + transitionOpacity: boolean | Ref | ComputedRef } ``` diff --git a/packages/vue-use-fixed-header/src/types.ts b/packages/vue-use-fixed-header/src/types.ts index b73eeb6..17190b2 100644 --- a/packages/vue-use-fixed-header/src/types.ts +++ b/packages/vue-use-fixed-header/src/types.ts @@ -22,5 +22,5 @@ export interface UseFixedHeaderOptions { * * @default false */ - transitionOpacity: boolean + transitionOpacity: boolean | Ref | ComputedRef }