diff --git a/docs/docs/animations/shared/animationToValue.mdx b/docs/docs/animations/_shared/animationToValue.mdx similarity index 100% rename from docs/docs/animations/shared/animationToValue.mdx rename to docs/docs/animations/_shared/animationToValue.mdx diff --git a/docs/docs/animations/withSpring.mdx b/docs/docs/animations/withSpring.mdx index 810c3109423e..176da1d1e3de 100644 --- a/docs/docs/animations/withSpring.mdx +++ b/docs/docs/animations/withSpring.mdx @@ -2,8 +2,6 @@ sidebar_position: 2 --- -import AnimationToValue from './shared/animationToValue.mdx'; - # withSpring `withSpring` lets you create spring-based animations. @@ -61,6 +59,8 @@ enum ReduceMotion { #### `toValue` +import AnimationToValue from './_shared/animationToValue.mdx'; + #### `config` diff --git a/docs/docs/animations/withTiming.mdx b/docs/docs/animations/withTiming.mdx index 9a7a27ca8f73..d4f2626a8d62 100644 --- a/docs/docs/animations/withTiming.mdx +++ b/docs/docs/animations/withTiming.mdx @@ -2,8 +2,6 @@ sidebar_position: 1 --- -import AnimationToValue from './shared/animationToValue.mdx'; - # withTiming `withTiming` lets you create an animation based on duration and [easing](https://easings.net/). @@ -55,6 +53,8 @@ enum ReduceMotion { #### `toValue` +import AnimationToValue from './_shared/animationToValue.mdx'; + #### `config`