mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-03 18:52:07 +00:00
[add] ScrollView to Animated
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import Animated from 'animated';
|
import Animated from 'animated';
|
||||||
import Image from '../../components/Image';
|
import Image from '../../components/Image';
|
||||||
|
import ScrollView from '../../components/ScrollView';
|
||||||
import StyleSheet from '../StyleSheet';
|
import StyleSheet from '../StyleSheet';
|
||||||
import Text from '../../components/Text';
|
import Text from '../../components/Text';
|
||||||
import View from '../../components/View';
|
import View from '../../components/View';
|
||||||
@@ -9,6 +10,7 @@ Animated.inject.FlattenStyle(StyleSheet.flatten);
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
...Animated,
|
...Animated,
|
||||||
Image: Animated.createAnimatedComponent(Image),
|
Image: Animated.createAnimatedComponent(Image),
|
||||||
|
ScrollView: Animated.createAnimatedComponent(ScrollView),
|
||||||
Text: Animated.createAnimatedComponent(Text),
|
Text: Animated.createAnimatedComponent(Text),
|
||||||
View: Animated.createAnimatedComponent(View)
|
View: Animated.createAnimatedComponent(View)
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user