Skip to content

Commit

Permalink
correct some typos in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bcastlel committed Jan 27, 2024
1 parent c4f3860 commit 4ae8bad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const headerRef = ref(null)
const isPricingPage = computed(() => route.name === 'Pricing')
const { styles } useFixedHeader(headerRef, {
const { styles } = useFixedHeader(headerRef, {
watch: isPricingPage, // Will perform a check everytime the value changes
})
</script>
Expand Down Expand Up @@ -164,7 +164,7 @@ interface UseFixedHeaderOptions {
*/
watch: Ref<T> | ComputedRef<T>
/**
* Whether to transition `opacity` propert from 0 to 1
* Whether to transition `opacity` property from 0 to 1
* and vice versa along with the `transform` property
*
* @default false
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 @@ -17,7 +17,7 @@ export interface UseFixedHeaderOptions<T = any> {
*/
watch: Ref<T> | ComputedRef<T>
/**
* Whether to transition `opacity` propert from 0 to 1
* Whether to transition `opacity` property from 0 to 1
* and vice versa along with the `transform` property
*
* @default false
Expand Down

0 comments on commit 4ae8bad

Please sign in to comment.