import * as React from 'react';
import {TextProps, View, TouchableOpacity} from 'react-native';

import {style} from './style';

export const NavButton = (props: TextProps) => {
  return (
    <>
      <TouchableOpacity style={props.style} onPress={props.onPress}>
        <View style={style.container}>
          <View style={style.line}></View>
          <View style={style.line}></View>
          <View style={style.line}></View>
        </View>
      </TouchableOpacity>
    </>
  );
};
