Skip to content

Commit

Permalink
docs: fix spell
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionad-Morotar authored Feb 16, 2024
1 parent ee01334 commit e045fd0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Assuming a 400px height div, you can easily get a div with beautiful virtual scr
## ⚒️ Feature

- [x] **Powerful API**, have ability to deal with complex components[^1], such as vxe-table、ant-vue-table
- [x] **Customisable**, so that you can create your own scrollbar style, animation and user interaction
- [x] **Customizable**, so that you can create your own scrollbar style, animation and user interaction
- [x] **Theme**, integrated with these style configurations: ElementPlus, Steam, CSS-Tricks ...
- [x] **Full Typed**, with the power of typescript
- [ ] Support Vue3 & <del>Vue2</del>
Expand All @@ -39,7 +39,7 @@ Assuming a 400px height div, you can easily get a div with beautiful virtual scr

[^1]: which is not possible with other libraries

and PRs are welcom
and PRs are welcome

## 📸 Preview

Expand All @@ -61,7 +61,7 @@ Simple example

```typescript
import { onMounted, ref } from 'vue'
import { useSrollbar } from 'use-scrollbars'
import { useScrollbar } from 'use-scrollbars'

const componentOrElementRef = ref(null);
const barStates = useScrollbar(componentOrElementRef, {
Expand All @@ -77,7 +77,7 @@ Another example

```typescript
import { watchEffect, onMounted, ref } from 'vue'
import { useSrollbar } from 'use-scrollbars'
import { useScrollbar } from 'use-scrollbars'

const componentOrElementRef = ref(null);
const barStates = useScrollbar(componentOrElementRef, {
Expand All @@ -86,7 +86,7 @@ const barStates = useScrollbar(componentOrElementRef, {

const componentStates = ref('your-states');
watchEffect(() => {
if (componentStates.valu3 === 'your-states') {
if (componentStates.xxx === 'your-states') {
barStates.theme = 'steam'
} else {
barStates.destroy()
Expand Down

0 comments on commit e045fd0

Please sign in to comment.