mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
27 lines
474 B
TypeScript
27 lines
474 B
TypeScript
import * as React from 'react';
|
|
import {
|
|
StyleSheet,
|
|
Text,
|
|
View,
|
|
ViewStyle
|
|
} from 'react-native';
|
|
import Video from 'react-native-video';
|
|
|
|
class SwiperTest extends React.Component {
|
|
constructor(props: {}) {
|
|
super(props);
|
|
}
|
|
|
|
render(): React.ReactElement<any> {
|
|
return (
|
|
<Video source={{uri: '//:example.com/test.mp4'}}/>
|
|
);
|
|
}
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
wrapper: {
|
|
flex: 1,
|
|
},
|
|
});
|