Skip to content

Commit

Permalink
Update targets.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
real-charlie authored Dec 17, 2022
1 parent 3ca50be commit 950485b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/app/routes/docs/concepts/targets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The `createAnimatedStyle` key of the config object by default takes wraps the `s
generic rules on applying keys. In the case of `@react-spring/web`, we pass a custom function which is how we support shorthands for
transformation styles.

The getComponentProps is a middeleware function that allows you to intercept props before they're passed to the animated component, therefore
The getComponentProps is a middleware function that allows you to intercept props before they're passed to the animated component, therefore
you could omit props e.g. `scrollTop` for the web because `@react-spring/web` expects this to be in the `style` object.

For more information on `animated` elements, see [here](/docs/concepts/animated-elements).

0 comments on commit 950485b

Please sign in to comment.