import React from 'react'; import { ActivityIndicatorProps, StyleProp, TextStyle, TouchableNativeFeedbackProps, TouchableOpacityProps, ViewStyle } from 'react-native'; import { StringOmit, RneFunctionComponent, ThemeSpacing } from '../helpers'; import { IconNode } from '../Icon'; import { TextProps } from '../Text'; export interface ButtonProps extends TouchableOpacityProps, TouchableNativeFeedbackProps { title?: string | React.ReactElement<{}>; titleStyle?: StyleProp; titleProps?: TextProps; buttonStyle?: StyleProp; type?: 'solid' | 'clear' | 'outline'; loading?: boolean; loadingStyle?: StyleProp; loadingProps?: ActivityIndicatorProps; containerStyle?: StyleProp; icon?: IconNode; iconContainerStyle?: StyleProp; iconRight?: boolean; linearGradientProps?: object; TouchableComponent?: typeof React.Component; ViewComponent?: typeof React.Component; disabled?: boolean; disabledStyle?: StyleProp; disabledTitleStyle?: StyleProp; raised?: boolean; iconPosition?: 'left' | 'right' | 'top' | 'bottom'; uppercase?: boolean; radius?: number | StringOmit; size?: 'sm' | 'md' | 'lg'; color?: StringOmit<'primary' | 'secondary' | 'success' | 'error' | 'warning'>; } export declare const Button: RneFunctionComponent;