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: Update targets.mdx fixed a single typo (Middeleware to middleware) #2047

Merged
merged 1 commit into from
Dec 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

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