-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.js
34 lines (29 loc) · 897 Bytes
/
demo.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import React from 'react';
import { View, Text, Image } from 'react-native';
//VARIABLES
//COMPONENTS
import AudioPlayer from './App';
//STYLESHEET
// import styleSheet from './styles';
export default class extends React.Component {
constructor(props) {
super(props);
}
render = () => {
return (
<View style={{ flex: 1, justifyContent: 'center' }}>
<View>
<AudioPlayer
source={'https://ames.edu.vn/uploads/a.mp3'}
thumbTintColor={'#e84393'}
minimumTrackTintColor={'#fd79a8'}
maximumTrackTintColor={'#e84393'}
iconStyle={{}}
iconSize={30}
onPress={command => { }}
/>
</View>
</View>
);
}
}