-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from barmej/v1.2
V1.1
- Loading branch information
Showing
46 changed files
with
4,812 additions
and
3,555 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
root: true, | ||
extends: '@react-native-community', | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint'], | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
bracketSpacing: false, | ||
jsxBracketSameLine: true, | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/** | ||
* Sample React Native App | ||
* https://github.com/facebook/react-native | ||
* | ||
* Generated with the TypeScript template | ||
* https://github.com/react-native-community/react-native-template-typescript | ||
* | ||
* @format | ||
*/ | ||
|
||
import React from 'react'; | ||
import {SafeAreaView, StatusBar, Text, View} from 'react-native'; | ||
import YoutubePlayer from 'react-native-yt-player'; | ||
|
||
const TopBar = () => ( | ||
<View | ||
style={{ | ||
alignSelf: 'center', | ||
position: 'absolute', | ||
top: 0, | ||
}}> | ||
<Text style={{color: '#FFF'}}> Custom Top bar</Text> | ||
</View> | ||
); | ||
|
||
const App = () => { | ||
return ( | ||
<> | ||
<StatusBar barStyle="dark-content" /> | ||
<SafeAreaView> | ||
<View style={{paddingTop: 60}}> | ||
<YoutubePlayer | ||
topBar={TopBar} | ||
videoId="H5R9jZMBNI8" | ||
// autoPlay | ||
//onFullScreen={this.onFullScreen} | ||
onStart={() => console.log('onStart')} | ||
onEnd={() => console.log('on End')} | ||
/> | ||
|
||
<View> | ||
<Text> | ||
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Commodi, | ||
aspernatur rerum, deserunt cumque ipsam unde nam voluptatum | ||
tenetur cupiditate veritatis autem quidem ad repudiandae sapiente | ||
odit voluptates fugit placeat ut! | ||
</Text> | ||
</View> | ||
</View> | ||
</SafeAreaView> | ||
</> | ||
); | ||
}; | ||
|
||
export default App; |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.