12345678910111213141516171819202122232425 |
- import React from 'react'
- import { Text, TouchableHighlight, StyleSheet } from 'react-native'
- export default function SelectFiles ({ showFilePicker }) {
- return (
- <TouchableHighlight
- onPress={showFilePicker}
- style={styles.button}
- >
- <Text style={styles.text}>Select files</Text>
- </TouchableHighlight>
- )
- }
- const styles = StyleSheet.create({
- button: {
- backgroundColor: '#cc0077',
- padding: 15,
- },
- text: {
- color: '#fff',
- textAlign: 'center',
- fontSize: 17,
- },
- })
|