Skip to content

Commit

Permalink
feat: Expose BaseLayoutAnimationConfig (#6558)
Browse files Browse the repository at this point in the history
## Summary

If docs need to extract internal types like this we better just export
them publicly.

Fixes CI on:

- #6556
- #6557

## Test plan

🚀
  • Loading branch information
tjzel authored Sep 30, 2024
1 parent 4a950dc commit 58f8388
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ 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
Expand Down
1 change: 1 addition & 0 deletions packages/react-native-reanimated/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export type {
SharedTransitionAnimationsValues,
ILayoutAnimationBuilder,
IEntryExitAnimationBuilder,
BaseLayoutAnimationConfig,
} from './layoutReanimation';
export {
BaseAnimationBuilder,
Expand Down

0 comments on commit 58f8388

Please sign in to comment.