Skip to content

Commit

Permalink
correct some typos in the documentation, bump v2.0.2 (#4)
Browse files Browse the repository at this point in the history
* correct some typos in the documentation

* bump to 2.0.2

---------

Co-authored-by: bcastlel <bcastlel@users.noreply.github.com>
  • Loading branch information
bcastlel and bcastlel authored Jan 27, 2024
1 parent c4f3860 commit a592db3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vue-use-fixed-header",
"description": "Turn your boring fixed header into a smart one with three lines of code.",
"private": false,
"version": "2.0.1",
"version": "2.0.2",
"type": "module",
"keywords": [
"vue",
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 a592db3

Please sign in to comment.