/** * Created by nghinv on Sat Jun 19 2021 * Copyright (c) 2021 nghinv@lumi.biz */ import React from 'react'; import { ViewStyle, StyleProp, TextStyle, TouchableOpacityProps, TextProps } from 'react-native'; import type { TextType } from '@nghinv/react-native-theme'; export interface ButtonTextProps { title?: string; disabled?: boolean; onPress?: () => void; style?: StyleProp; titleStyle?: TextStyle; titleType?: TextType; buttonProps?: TouchableOpacityProps; titleProps?: TextProps; } declare function ButtonText(props: ButtonTextProps): JSX.Element; declare namespace ButtonText { var defaultProps: { titleType: string; }; } declare const _default: React.MemoExoticComponent; export default _default;