/** * Created by nghinv on Wed Jul 07 2021 * Copyright (c) 2021 nghinv@lumi.biz */ import React from 'react'; import { StyleProp, ViewStyle, TextStyle, TextProps, TouchableOpacityProps } from 'react-native'; export interface ButtonProps extends TouchableOpacityProps { width?: number | string; height?: number; borderRadius?: number; backgroundColor?: string; style?: StyleProp; disabled?: boolean; onPress?: () => void; title?: string; titleColor?: string; titleStyle?: TextStyle; titleProps?: TextProps; round?: boolean; upperCaseTitle?: boolean; type?: 'full' | 'auto'; } declare function Button(props: ButtonProps): JSX.Element; declare namespace Button { var defaultProps: { height: number; borderRadius: number; round: boolean; upperCaseTitle: boolean; type: string; }; } declare const _default: React.MemoExoticComponent; export default _default;