import { ViewStyle, TextStyle, TouchableOpacityProps } from 'react-native';

import { TextTransform } from '~/components/text/text.props';
import { TranslationKey } from '~/i18n';

import { ButtonPresets } from './button.presets';

export interface ButtonProps extends TouchableOpacityProps {
  text?: string;
  textTransform?: TextTransform;
  tx?: TranslationKey;
  txOptions?: object;
  full?: boolean;
  style?: ViewStyle | ViewStyle[];
  textStyle?: TextStyle | TextStyle[];
  preset?: ButtonPresets;
  children?: React.ReactNode;
}
