UNPKG

@kietpt2003/react-native-core-ui

Version:
23 lines 880 B
import React from 'react'; import { TouchableOpacityProps, StyleProp, ViewStyle, TextStyle, TextProps, GestureResponderEvent } from 'react-native'; export interface ButtonProps extends TouchableOpacityProps { title?: string; startIcon?: React.ReactNode; startIconStyle?: StyleProp<ViewStyle>; endIcon?: React.ReactNode; endIconStyle?: StyleProp<ViewStyle>; style?: StyleProp<ViewStyle>; titleStyle?: StyleProp<TextStyle>; activeBgColor?: string; inactiveBgColor?: string; disabled?: boolean; isSubmit?: boolean; indicatorSize?: number | "small" | "large" | undefined; onPress?: ((event: GestureResponderEvent) => void) | undefined; variant?: 'filled' | 'outline'; borderColor?: string; titleProps?: TextProps; } declare const Button: React.FC<ButtonProps>; export default Button; //# sourceMappingURL=Button.d.ts.map