Skip to content

Commit

Permalink
Correct documentation on hasDisabledAnimation setting (#148)
Browse files Browse the repository at this point in the history
Co-authored-by: Kostiantyn Kolesnichenko <mormat.iam@gmail.com>
  • Loading branch information
kostia1st and Kostiantyn Kolesnichenko committed Apr 20, 2023
1 parent efa9d83 commit 3a84a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ The following are optional properties passed into `useCollapse({ })`:
| onCollapseEnd | function | no-op | Handler called when the collapse animation ends |
| onExpandStart | function | no-op | Handler called when the expand animation begins |
| onExpandEnd | function | no-op | Handler called when the expand animation ends |
| hasDisabledAnimation | boolean | false | If true, will disable the animation |
| hasDisabledAnimation | boolean | `undefined` | If true, will disable the animation. If `undefined`, will fallback to media `prefers-reduced-animation` setting. |

### What you get

Expand Down

0 comments on commit 3a84a2a

Please sign in to comment.