import React from 'react'; import {Pressable, StyleProp, ViewStyle} from 'react-native'; import {ColorScheme} from './Design'; import {Text} from 'react-native'; export default function EFullButton(props: { text: string; active?: boolean; onPress?: () => void; style?: StyleProp; }) { return ( props.active && props.onPress && props.onPress()}> {props.text} ); } export function ESmallButton(props: { text: string; active?: boolean; onPress?: () => void; style?: StyleProp; }) { return ( props.active && props.onPress && props.onPress()}> {props.text} ); } export function EIconButton(props: { children: React.ReactNode, active?: boolean; onPress?: () => void; style?: StyleProp; }) { return ( props.active && props.onPress && props.onPress()}> {props.children} ); }