Skip to content

Commit a592db3

Browse files
authored
correct some typos in the documentation, bump v2.0.2 (#4)
* correct some typos in the documentation * bump to 2.0.2 --------- Co-authored-by: bcastlel <[email protected]>
1 parent c4f3860 commit a592db3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const headerRef = ref(null)
113113
114114
const isPricingPage = computed(() => route.name === 'Pricing')
115115
116-
const { styles } useFixedHeader(headerRef, {
116+
const { styles } = useFixedHeader(headerRef, {
117117
watch: isPricingPage, // Will perform a check everytime the value changes
118118
})
119119
</script>
@@ -164,7 +164,7 @@ interface UseFixedHeaderOptions {
164164
*/
165165
watch: Ref<T> | ComputedRef<T>
166166
/**
167-
* Whether to transition `opacity` propert from 0 to 1
167+
* Whether to transition `opacity` property from 0 to 1
168168
* and vice versa along with the `transform` property
169169
*
170170
* @default false

packages/vue-use-fixed-header/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue-use-fixed-header",
33
"description": "Turn your boring fixed header into a smart one with three lines of code.",
44
"private": false,
5-
"version": "2.0.1",
5+
"version": "2.0.2",
66
"type": "module",
77
"keywords": [
88
"vue",

packages/vue-use-fixed-header/src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface UseFixedHeaderOptions<T = any> {
1717
*/
1818
watch: Ref<T> | ComputedRef<T>
1919
/**
20-
* Whether to transition `opacity` propert from 0 to 1
20+
* Whether to transition `opacity` property from 0 to 1
2121
* and vice versa along with the `transform` property
2222
*
2323
* @default false

0 commit comments

Comments
 (0)