Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matthunz committed Oct 16, 2023
2 parents f092a02 + 35376d2 commit 97190df
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img src="https://img.shields.io/crates/v/dioxus-use-gesture?style=flat-square"
alt="Crates.io version" />
</a>
<a href="https://docs.rs/dioxus-use-gesture/latest/dioxus-use-gesture">
<a href="https://docs.rs/dioxus-use-gesture/latest/dioxus_use_gesture/">
<img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square"
alt="docs.rs docs" />
</a>
Expand All @@ -20,6 +20,11 @@

<br>

Gesture interaction library for [Dioxus](https://dioxuslabs.com).

Pairs great with [dioxus-spring](https://github.com/matthunz/dioxus-spring)!


```rust
let spring_ref = use_spring_style(cx, [0f32, 0f32], |[x, y]| {
format!("width: 200px; height: 200px; background: red; transform: translate({x}px, {y}px);")
Expand Down

0 comments on commit 97190df

Please sign in to comment.