Skip to content

Commit

Permalink
readme and bump
Browse files Browse the repository at this point in the history
  • Loading branch information
tol-is committed Dec 19, 2022
1 parent 4e158d4 commit 88e7c6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ const { ref, replay } = useScramble({ text: 'your_text' });
return <p ref={ref} onclick={replay} />;
```

## Reduced Motion

If the user has requested to minimize non-essential motion with `prefers-reduced-motion:reduce`, the animation is entirely disabled.

Alternative recipes to tone down the animation are possible and currently considered. It's difficult to determine at what degree motion is essential.

## Unicode Values

| Glyph | Unicode | Description |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"randomizer",
"yugop"
],
"version": "2.2.6",
"version": "2.2.7",
"license": "MIT",
"module": "dist/use-scramble.esm.js",
"main": "dist/index.js",
Expand Down

0 comments on commit 88e7c6a

Please sign in to comment.