import { StyleProp, TextStyle, TouchableNativeFeedbackProps, TouchableOpacityProps, ViewStyle } from 'react-native'; import * as React from 'react'; import { ReactElement, Ref } from 'react'; export declare type ButtonProps = CProps & { Component?: React.ElementType; /** * 自动关闭键盘 */ autoDismissKeyboard?: boolean; after?: ReactElement; before?: ReactElement; containerStyle?: StyleProp; disabledStyle?: StyleProp; textStyle?: StyleProp; type?: 'primary' | 'success' | 'info' | 'warn' | 'danger' | 'link' | 'default'; } & TouchableOpacityProps & TouchableNativeFeedbackProps; /** * 按钮 */ export declare const Button: (p: CProps & { Component?: React.ElementType; /** * 自动关闭键盘 */ autoDismissKeyboard?: boolean; after?: ReactElement; before?: ReactElement; containerStyle?: StyleProp; disabledStyle?: StyleProp; textStyle?: StyleProp; type?: 'primary' | 'success' | 'info' | 'warn' | 'danger' | 'link' | 'default'; } & TouchableOpacityProps & TouchableNativeFeedbackProps & { ref?: Ref; }) => React.ReactElement;