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?: () => void;
|
21 | |
22 |
|
23 |
|
24 | color?: string;
|
25 | |
26 |
|
27 |
|
28 | theme: ReactNativePaper.Theme;
|
29 | |
30 |
|
31 |
|
32 | testID?: string;
|
33 | };
|
34 | 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"> & {
|
35 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
36 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
37 | ({ disabled, onPress, theme, status, value, testID, ...rest }: Props): JSX.Element;
|
38 | displayName: string;
|
39 | }) | (React.FunctionComponent<Props> & {
|
40 | ({ disabled, onPress, theme, status, value, testID, ...rest }: Props): JSX.Element;
|
41 | displayName: string;
|
42 | }), {}>) | (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"> & {
|
43 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
44 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
45 | ({ disabled, onPress, theme, status, value, testID, ...rest }: Props): JSX.Element;
|
46 | displayName: string;
|
47 | }) | (React.FunctionComponent<Props> & {
|
48 | ({ disabled, onPress, theme, status, value, testID, ...rest }: Props): JSX.Element;
|
49 | displayName: string;
|
50 | }), {}>);
|
51 | export default _default;
|
52 | declare const RadioButtonIOSWithTheme: (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"> & {
|
53 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
54 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
55 | ({ disabled, onPress, theme, status, value, testID, ...rest }: Props): JSX.Element;
|
56 | displayName: string;
|
57 | }) | (React.FunctionComponent<Props> & {
|
58 | ({ disabled, onPress, theme, status, value, testID, ...rest }: Props): JSX.Element;
|
59 | displayName: string;
|
60 | }), {}>) | (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"> & {
|
61 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
62 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & {
|
63 | ({ disabled, onPress, theme, status, value, testID, ...rest }: Props): JSX.Element;
|
64 | displayName: string;
|
65 | }) | (React.FunctionComponent<Props> & {
|
66 | ({ disabled, onPress, theme, status, value, testID, ...rest }: Props): JSX.Element;
|
67 | displayName: string;
|
68 | }), {}>);
|
69 | export { RadioButtonIOSWithTheme as RadioButtonIOS };
|