mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Added an example to add ```combining``` values with the animated API ## Changelog: [General] [Added] - Add examples for Combining Animated Values with the Animated API Pull Request resolved: https://github.com/facebook/react-native/pull/43435 Test Plan: https://github.com/facebook/react-native/assets/72331432/c4a0c1e2-df9d-4e73-8602-e4550a22b8dc https://github.com/facebook/react-native/assets/72331432/d2f1196e-68b0-49d4-8d3d-2c53ee30652b Reviewed By: cortinico Differential Revision: D55917557 Pulled By: hoxyq fbshipit-source-id: d4214323f2a8823b1b3fe0c8d90a7518d0953b48
50 lines
1.6 KiB
JavaScript
50 lines
1.6 KiB
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict-local
|
|
* @format
|
|
*/
|
|
|
|
import type {RNTesterModule} from '../../types/RNTesterTypes';
|
|
|
|
import ColorStylesExample from './ColorStylesExample';
|
|
import CombineExample from './CombineExample';
|
|
import ComposeAnimationsWithEasingExample from './ComposeAnimationsWithEasingExample';
|
|
import ComposingExample from './ComposingExample';
|
|
import ContinuousInteractionsExample from './ContinuousInteractionsExample';
|
|
import EasingExample from './EasingExample';
|
|
import FadeInViewExample from './FadeInViewExample';
|
|
import LoopingExample from './LoopingExample';
|
|
import MovingBoxExample from './MovingBoxExample';
|
|
import RotatingImagesExample from './RotatingImagesExample';
|
|
import TransformBounceExample from './TransformBounceExample';
|
|
import TransformStylesExample from './TransformStylesExample';
|
|
|
|
export default ({
|
|
framework: 'React',
|
|
title: 'Animated',
|
|
category: 'UI',
|
|
documentationURL: 'https://reactnative.dev/docs/animated',
|
|
description:
|
|
'Library designed to make animations fluid, powerful, and painless to ' +
|
|
'build and maintain.',
|
|
showIndividualExamples: true,
|
|
examples: [
|
|
TransformStylesExample,
|
|
ColorStylesExample,
|
|
FadeInViewExample,
|
|
ComposingExample,
|
|
EasingExample,
|
|
ComposeAnimationsWithEasingExample,
|
|
RotatingImagesExample,
|
|
MovingBoxExample,
|
|
TransformBounceExample,
|
|
LoopingExample,
|
|
ContinuousInteractionsExample,
|
|
CombineExample,
|
|
],
|
|
}: RNTesterModule);
|