Skip to content

Commit

Permalink
fix typo on object key for targetValues in custom-animations.mdx (#…
Browse files Browse the repository at this point in the history
…5994)

## Summary

This fixes a typo on the key of `targetValues`, `targetOriginX.originX`
should be `targetValues.targetOriginX`
  • Loading branch information
JDMathew committed May 10, 2024
1 parent 021e751 commit 9667e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/layout-animations/custom-animations.mdx
Expand Up @@ -113,7 +113,7 @@ function CardView() {
const entering = (targetValues) => {
'worklet';
const animations = {
originX: withTiming(targetValues.originX, { duration: 3000 }),
originX: withTiming(targetValues.targetOriginX, { duration: 3000 }),
opacity: withTiming(1, { duration: 2000 }),
borderRadius: withDelay(4000, withTiming(30, { duration: 3000 })),
transform: [
Expand Down

0 comments on commit 9667e8b

Please sign in to comment.