Skip to content

Commit

Permalink
docs(useCalmp): update (vitest-dev#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
okxiaoliang4 committed Feb 18, 2022
1 parent aef8a2b commit 4b1963e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/useClamp/index.md
Expand Up @@ -11,7 +11,7 @@ Reactively clamp a value between two other values.
```ts
import { useClamp } from '@vueuse/core'

const min = ref(-10)
const max = ref(-10)
const min = ref(0)
const max = ref(10)
const value = useClamp(0, min, max)
```

0 comments on commit 4b1963e

Please sign in to comment.