UNPKG

@naturalclar/apsl-react-native-button

Version:

React Native button component with rounded corners.

31 lines 992 B
import React, { PureComponent } from 'react'; import { StyleProp, TextStyle, ViewStyle } from 'react-native'; export declare type ButtonProps = { textStyle?: StyleProp<TextStyle>; disabledStyle?: StyleProp<TextStyle>; children?: React.ReactNode; testID?: string; accessibilityLabel?: string; activeOpacity?: number; allowFontScaling?: boolean; isLoading?: boolean; isDisabled?: boolean; activityIndicatorColor?: string; delayLongPress?: number; delayPressIn?: number; delayPressOut?: number; onPress?: () => void; onLongPress?: () => void; onPressIn?: () => void; onPressOut?: () => void; style?: StyleProp<ViewStyle>; background?: any; }; declare class Button extends PureComponent<ButtonProps> { static isAndroid: boolean; _renderChildren(): React.ReactNode[]; _renderInnerText(): JSX.Element | React.ReactNode[]; render(): JSX.Element; } export default Button; //# sourceMappingURL=Button.d.ts.map