archive
/
zxcvbn-app
Archived
1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
zxcvbn-app/src/navigation/InfoButton.tsx

40 lines
819 B
TypeScript

import React, { Component } from 'react';
import Icon from 'react-native-vector-icons/FontAwesome';
import {
StyleSheet,
TouchableHighlight,
View,
Text
} from 'react-native';
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
} as React.ViewStyle,
toolbarButton: {
paddingHorizontal: 15,
} as React.ViewStyle,
text: {
color: '#FFF',
fontSize: 18,
} as React.TextStyle
});
export default class InfoButton extends Component<any, any> {
render() {
return (
<View style={styles.container}>
<TouchableHighlight
style={styles.toolbarButton}
underlayColor="transparent"
onPress={() => null}>
<Icon name="info" style={styles.text} />
</TouchableHighlight>
</View>
);
}
}