uppy/examples/react-native-expo/SelectFilesButton.js
Mikael Finstad d31c90e443
Run biome check on main (#5896)
this time on main
closes #5891

also: fix a11y tabIndex (key event handler)
2025-08-11 10:06:21 +02:00

21 lines
476 B
JavaScript

import { StyleSheet, Text, TouchableHighlight } 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,
},
})