@kietpt2003/react-native-core-ui
Version:
React Native Core UI components by KietPT
23 lines • 880 B
TypeScript
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