import React from 'react'; import { StyleSheet, View, Platform } from 'react-native'; import { CustomIcon } from '../../../../containers/CustomIcon'; import { useTheme } from '../../../../theme'; import Touch from '../../../../containers/Touch'; const styles = StyleSheet.create({ container: { position: 'absolute', right: 15 }, button: { borderRadius: 25 }, content: { width: 50, height: 50, borderRadius: 25, borderWidth: 1, alignItems: 'center', justifyContent: 'center' } }); const NavBottomFAB = ({ visible, onPress, isThread }: { visible: boolean; onPress: Function; isThread: boolean; }): React.ReactElement | null => { const { colors } = useTheme(); if (!visible) { return null; } return ( onPress()} style={[styles.button, { backgroundColor: colors.backgroundColor }]}> ); }; export default NavBottomFAB;