Skip to content

Commit

Permalink
docs: fix StyleProperties link and introduction.md import (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
imfenghuang authored Dec 7, 2024
1 parent 12d1020 commit 3c86bf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/1.getting-started/1.introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ app.mount('#app')
If you want to import the directive code only from components that uses it, import the directive and install it at component level.

```javascript
import { directive as motion } from '@vueuse/motion'
import { MotionDirective as motion } from '@vueuse/motion'

export default {
directives: {
Expand Down
4 changes: 2 additions & 2 deletions docs/content/3.api/11.reactive-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ reactiveStyle is an helper function creating a reactive object compatible with a

### `props`

Default [StyleProperties](https://github.com/Tahul/vueuse/motion/tree/main/src/types/variants.ts#L49-L50) object to create the reactive one from.
Default [StyleProperties](https://github.com/vueuse/motion/tree/main/src/types/variants.ts#L49-L50) object to create the reactive one from.

## Exposed

### `state`

The reactive [StyleProperties](https://github.com/Tahul/vueuse/motion/tree/main/src/types/variants.ts#L49-L50) object to manipulate.
The reactive [StyleProperties](https://github.com/vueuse/motion/tree/main/src/types/variants.ts#L49-L50) object to manipulate.

### `style`

Expand Down

0 comments on commit 3c86bf8

Please sign in to comment.