Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix StyleProperties link and introduction.md import #242

Merged
merged 2 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading