-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[change] update Animated implementation
Mirror contents of React Native 0.57.5 Ref #1172
- Loading branch information
Showing
20 changed files
with
278 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
/** | ||
* Copyright (c) 2016-present, Nicolas Gallagher. | ||
* Copyright (c) 2015-present, Facebook, Inc. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
* @flow | ||
* @flow strict-local | ||
* @format | ||
*/ | ||
|
||
import AnimatedImplementation from '../../vendor/react-native/Animated/AnimatedImplementation'; | ||
import FlatList from '../FlatList'; | ||
import Image from '../Image'; | ||
import SectionList from '../SectionList'; | ||
import ScrollView from '../ScrollView'; | ||
import Text from '../Text'; | ||
import View from '../View'; | ||
|
||
const Animated = { | ||
...AnimatedImplementation, | ||
FlatList: AnimatedImplementation.createAnimatedComponent(FlatList), | ||
Image: AnimatedImplementation.createAnimatedComponent(Image), | ||
ScrollView: AnimatedImplementation.createAnimatedComponent(ScrollView), | ||
View: AnimatedImplementation.createAnimatedComponent(View), | ||
Text: AnimatedImplementation.createAnimatedComponent(Text) | ||
SectionList: AnimatedImplementation.createAnimatedComponent(SectionList), | ||
Text: AnimatedImplementation.createAnimatedComponent(Text), | ||
View: AnimatedImplementation.createAnimatedComponent(View) | ||
}; | ||
|
||
export default Animated; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.