From 7327ae84a8382fc3ae5c781a5fc9b2e080b33cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20=C5=BBelawski?= Date: Fri, 27 Sep 2024 21:42:16 +0200 Subject: [PATCH] feat: Expose BaseLayoutAnimationConfig --- .../useEnteringExitingAnimationPlayground/index.tsx | 3 +-- packages/react-native-reanimated/src/index.ts | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs-reanimated/src/components/InteractivePlayground/useEnteringExitingAnimationPlayground/index.tsx b/packages/docs-reanimated/src/components/InteractivePlayground/useEnteringExitingAnimationPlayground/index.tsx index d67a191400d2..a0029aa52671 100644 --- a/packages/docs-reanimated/src/components/InteractivePlayground/useEnteringExitingAnimationPlayground/index.tsx +++ b/packages/docs-reanimated/src/components/InteractivePlayground/useEnteringExitingAnimationPlayground/index.tsx @@ -2,9 +2,8 @@ import React, { useEffect, useState } from 'react'; import Example from './Example'; import useScreenSize from '@site/src/hooks/useScreenSize'; import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment'; -import { Easing } from 'react-native-reanimated'; +import { Easing, type BaseLayoutAnimationConfig } from 'react-native-reanimated'; import Controls from './Controls/Controls'; -import { type BaseLayoutAnimationConfig } from 'react-native-reanimated/lib/typescript/layoutReanimation'; import { ENTERING_ANIMATIONS, EXITING_ANIMATIONS } from './Example'; // TODO: Options related to spring will be uncommented after springify is introduced to web diff --git a/packages/react-native-reanimated/src/index.ts b/packages/react-native-reanimated/src/index.ts index f0cd1038cc04..0ac06da82164 100644 --- a/packages/react-native-reanimated/src/index.ts +++ b/packages/react-native-reanimated/src/index.ts @@ -122,6 +122,7 @@ export type { SharedTransitionAnimationsValues, ILayoutAnimationBuilder, IEntryExitAnimationBuilder, + BaseLayoutAnimationConfig, } from './layoutReanimation'; export { BaseAnimationBuilder,