1 |
|
2 | declare const ToggleButton: (import("react").ComponentClass<Pick<{
|
3 | icon: import("../Icon").IconSource;
|
4 | size?: number | undefined;
|
5 | color?: string | undefined;
|
6 | disabled?: boolean | undefined;
|
7 | accessibilityLabel?: string | undefined;
|
8 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
9 | value?: string | undefined;
|
10 | status?: "checked" | "unchecked" | undefined;
|
11 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
12 | theme: ReactNativePaper.Theme;
|
13 | }, "style" | "color" | "size" | "onPress" | "accessibilityLabel" | "icon" | "disabled" | "value" | "status"> & {
|
14 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
15 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(import("react").ComponentClass<{
|
16 | icon: import("../Icon").IconSource;
|
17 | size?: number | undefined;
|
18 | color?: string | undefined;
|
19 | disabled?: boolean | undefined;
|
20 | accessibilityLabel?: string | undefined;
|
21 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
22 | value?: string | undefined;
|
23 | status?: "checked" | "unchecked" | undefined;
|
24 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
25 | theme: ReactNativePaper.Theme;
|
26 | }, any> & (({ icon, size, theme, accessibilityLabel, disabled, style, value, status, onPress, ...rest }: {
|
27 | icon: import("../Icon").IconSource;
|
28 | size?: number | undefined;
|
29 | color?: string | undefined;
|
30 | disabled?: boolean | undefined;
|
31 | accessibilityLabel?: string | undefined;
|
32 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
33 | value?: string | undefined;
|
34 | status?: "checked" | "unchecked" | undefined;
|
35 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
36 | theme: ReactNativePaper.Theme;
|
37 | }) => JSX.Element)) | (import("react").FunctionComponent<{
|
38 | icon: import("../Icon").IconSource;
|
39 | size?: number | undefined;
|
40 | color?: string | undefined;
|
41 | disabled?: boolean | undefined;
|
42 | accessibilityLabel?: string | undefined;
|
43 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
44 | value?: string | undefined;
|
45 | status?: "checked" | "unchecked" | undefined;
|
46 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
47 | theme: ReactNativePaper.Theme;
|
48 | }> & (({ icon, size, theme, accessibilityLabel, disabled, style, value, status, onPress, ...rest }: {
|
49 | icon: import("../Icon").IconSource;
|
50 | size?: number | undefined;
|
51 | color?: string | undefined;
|
52 | disabled?: boolean | undefined;
|
53 | accessibilityLabel?: string | undefined;
|
54 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
55 | value?: string | undefined;
|
56 | status?: "checked" | "unchecked" | undefined;
|
57 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
58 | theme: ReactNativePaper.Theme;
|
59 | }) => JSX.Element)), {}> & {
|
60 | Group: {
|
61 | ({ value, onValueChange, children }: {
|
62 | onValueChange: (value: string) => void | null;
|
63 | value: string | null;
|
64 | children: import("react").ReactNode;
|
65 | }): JSX.Element;
|
66 | displayName: string;
|
67 | };
|
68 | Row: {
|
69 | ({ value, onValueChange, children, style }: {
|
70 | onValueChange: (value: string) => void;
|
71 | value: string;
|
72 | children: import("react").ReactNode;
|
73 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
74 | }): JSX.Element;
|
75 | displayName: string;
|
76 | };
|
77 | }) | (import("react").FunctionComponent<Pick<{
|
78 | icon: import("../Icon").IconSource;
|
79 | size?: number | undefined;
|
80 | color?: string | undefined;
|
81 | disabled?: boolean | undefined;
|
82 | accessibilityLabel?: string | undefined;
|
83 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
84 | value?: string | undefined;
|
85 | status?: "checked" | "unchecked" | undefined;
|
86 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
87 | theme: ReactNativePaper.Theme;
|
88 | }, "style" | "color" | "size" | "onPress" | "accessibilityLabel" | "icon" | "disabled" | "value" | "status"> & {
|
89 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
90 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(import("react").ComponentClass<{
|
91 | icon: import("../Icon").IconSource;
|
92 | size?: number | undefined;
|
93 | color?: string | undefined;
|
94 | disabled?: boolean | undefined;
|
95 | accessibilityLabel?: string | undefined;
|
96 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
97 | value?: string | undefined;
|
98 | status?: "checked" | "unchecked" | undefined;
|
99 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
100 | theme: ReactNativePaper.Theme;
|
101 | }, any> & (({ icon, size, theme, accessibilityLabel, disabled, style, value, status, onPress, ...rest }: {
|
102 | icon: import("../Icon").IconSource;
|
103 | size?: number | undefined;
|
104 | color?: string | undefined;
|
105 | disabled?: boolean | undefined;
|
106 | accessibilityLabel?: string | undefined;
|
107 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
108 | value?: string | undefined;
|
109 | status?: "checked" | "unchecked" | undefined;
|
110 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
111 | theme: ReactNativePaper.Theme;
|
112 | }) => JSX.Element)) | (import("react").FunctionComponent<{
|
113 | icon: import("../Icon").IconSource;
|
114 | size?: number | undefined;
|
115 | color?: string | undefined;
|
116 | disabled?: boolean | undefined;
|
117 | accessibilityLabel?: string | undefined;
|
118 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
119 | value?: string | undefined;
|
120 | status?: "checked" | "unchecked" | undefined;
|
121 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
122 | theme: ReactNativePaper.Theme;
|
123 | }> & (({ icon, size, theme, accessibilityLabel, disabled, style, value, status, onPress, ...rest }: {
|
124 | icon: import("../Icon").IconSource;
|
125 | size?: number | undefined;
|
126 | color?: string | undefined;
|
127 | disabled?: boolean | undefined;
|
128 | accessibilityLabel?: string | undefined;
|
129 | onPress?: ((value?: string | import("react-native").GestureResponderEvent | undefined) => void) | undefined;
|
130 | value?: string | undefined;
|
131 | status?: "checked" | "unchecked" | undefined;
|
132 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
133 | theme: ReactNativePaper.Theme;
|
134 | }) => JSX.Element)), {}> & {
|
135 | Group: {
|
136 | ({ value, onValueChange, children }: {
|
137 | onValueChange: (value: string) => void | null;
|
138 | value: string | null;
|
139 | children: import("react").ReactNode;
|
140 | }): JSX.Element;
|
141 | displayName: string;
|
142 | };
|
143 | Row: {
|
144 | ({ value, onValueChange, children, style }: {
|
145 | onValueChange: (value: string) => void;
|
146 | value: string;
|
147 | children: import("react").ReactNode;
|
148 | style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
|
149 | }): JSX.Element;
|
150 | displayName: string;
|
151 | };
|
152 | });
|
153 | export default ToggleButton;
|
154 |
|
\ | No newline at end of file |