1 | import * as React from 'react';
|
2 | import { StyleProp, ViewStyle, TextStyle } from 'react-native';
|
3 | export declare type Props = {
|
4 | |
5 |
|
6 |
|
7 | value: string;
|
8 | |
9 |
|
10 |
|
11 | label: string;
|
12 | |
13 |
|
14 |
|
15 | disabled?: boolean;
|
16 | |
17 |
|
18 |
|
19 | onPress?: () => void;
|
20 | |
21 |
|
22 |
|
23 | accessibilityLabel?: string;
|
24 | |
25 |
|
26 |
|
27 | uncheckedColor?: string;
|
28 | |
29 |
|
30 |
|
31 | color?: string;
|
32 | |
33 |
|
34 |
|
35 | status?: 'checked' | 'unchecked';
|
36 | |
37 |
|
38 |
|
39 | style?: StyleProp<ViewStyle>;
|
40 | |
41 |
|
42 |
|
43 | labelStyle?: StyleProp<TextStyle>;
|
44 | |
45 |
|
46 |
|
47 | theme: ReactNativePaper.Theme;
|
48 | |
49 |
|
50 |
|
51 | testID?: string;
|
52 | |
53 |
|
54 |
|
55 |
|
56 | mode?: 'android' | 'ios';
|
57 | |
58 |
|
59 |
|
60 | position?: 'leading' | 'trailing';
|
61 | };
|
62 | declare const _default: React.ComponentType<Pick<Props, "label" | "style" | "color" | "onPress" | "testID" | "accessibilityLabel" | "position" | "value" | "mode" | "labelStyle" | "disabled" | "status" | "uncheckedColor"> & {
|
63 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
64 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & {
|
65 | ({ value, label, style, labelStyle, onPress, disabled, color, uncheckedColor, status, theme: { colors }, accessibilityLabel, testID, mode, position, }: Props): JSX.Element;
|
66 | displayName: string;
|
67 | }, {}>;
|
68 | export default _default;
|
69 | declare const RadioButtonItemWithTheme: React.ComponentType<Pick<Props, "label" | "style" | "color" | "onPress" | "testID" | "accessibilityLabel" | "position" | "value" | "mode" | "labelStyle" | "disabled" | "status" | "uncheckedColor"> & {
|
70 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
71 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & {
|
72 | ({ value, label, style, labelStyle, onPress, disabled, color, uncheckedColor, status, theme: { colors }, accessibilityLabel, testID, mode, position, }: Props): JSX.Element;
|
73 | displayName: string;
|
74 | }, {}>;
|
75 | export { RadioButtonItemWithTheme as RadioButtonItem };
|