1 | import * as React from 'react';
|
2 | import TouchableRipple from '../TouchableRipple/TouchableRipple';
|
3 | import type { $RemoveChildren } from '../../types';
|
4 | declare type Props = $RemoveChildren<typeof TouchableRipple> & {
|
5 | |
6 |
|
7 |
|
8 | value: string;
|
9 | |
10 |
|
11 |
|
12 | status?: 'checked' | 'unchecked';
|
13 | |
14 |
|
15 |
|
16 | disabled?: boolean;
|
17 | |
18 |
|
19 |
|
20 | onPress?: (param?: any) => void;
|
21 | |
22 |
|
23 |
|
24 | uncheckedColor?: string;
|
25 | |
26 |
|
27 |
|
28 | color?: string;
|
29 | |
30 |
|
31 |
|
32 | theme: ReactNativePaper.Theme;
|
33 | |
34 |
|
35 |
|
36 | testID?: string;
|
37 | };
|
38 | declare const _default: (React.ComponentClass<Pick<Props, "style" | "color" | "onLayout" | "onPress" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "value" | "status" | "uncheckedColor"> & {
|
39 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
40 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
41 | ({ disabled, onPress, theme, value, status, testID, ...rest }: Props): JSX.Element;
|
42 | displayName: string;
|
43 | }) | (React.FunctionComponent<Props> & {
|
44 | ({ disabled, onPress, theme, value, status, testID, ...rest }: Props): JSX.Element;
|
45 | displayName: string;
|
46 | }), {}>) | (React.FunctionComponent<Pick<Props, "style" | "color" | "onLayout" | "onPress" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "value" | "status" | "uncheckedColor"> & {
|
47 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
48 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
49 | ({ disabled, onPress, theme, value, status, testID, ...rest }: Props): JSX.Element;
|
50 | displayName: string;
|
51 | }) | (React.FunctionComponent<Props> & {
|
52 | ({ disabled, onPress, theme, value, status, testID, ...rest }: Props): JSX.Element;
|
53 | displayName: string;
|
54 | }), {}>);
|
55 | export default _default;
|
56 | declare const RadioButtonAndroidWithTheme: (React.ComponentClass<Pick<Props, "style" | "color" | "onLayout" | "onPress" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "value" | "status" | "uncheckedColor"> & {
|
57 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
58 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
59 | ({ disabled, onPress, theme, value, status, testID, ...rest }: Props): JSX.Element;
|
60 | displayName: string;
|
61 | }) | (React.FunctionComponent<Props> & {
|
62 | ({ disabled, onPress, theme, value, status, testID, ...rest }: Props): JSX.Element;
|
63 | displayName: string;
|
64 | }), {}>) | (React.FunctionComponent<Pick<Props, "style" | "color" | "onLayout" | "onPress" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "value" | "status" | "uncheckedColor"> & {
|
65 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
66 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
67 | ({ disabled, onPress, theme, value, status, testID, ...rest }: Props): JSX.Element;
|
68 | displayName: string;
|
69 | }) | (React.FunctionComponent<Props> & {
|
70 | ({ disabled, onPress, theme, value, status, testID, ...rest }: Props): JSX.Element;
|
71 | displayName: string;
|
72 | }), {}>);
|
73 | export { RadioButtonAndroidWithTheme as RadioButtonAndroid };
|