UNPKG

36.2 kBTypeScriptView Raw
1/// <reference types="react" />
2declare const Appbar: (import("react").ComponentType<Pick<Partial<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
3 dark?: boolean | undefined;
4 children: import("react").ReactNode;
5 theme: ReactNativePaper.Theme;
6 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
7}, keyof import("react-native").ViewProps | "dark" | keyof import("react").RefAttributes<import("react-native").View>> & {
8 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
9}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<import("react").ComponentType<Partial<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
10 dark?: boolean | undefined;
11 children: import("react").ReactNode;
12 theme: ReactNativePaper.Theme;
13 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
14}> & (({ children, dark, style, theme, ...rest }: Partial<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
15 dark?: boolean | undefined;
16 children: import("react").ReactNode;
17 theme: ReactNativePaper.Theme;
18 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
19}) => JSX.Element), {}>) & {
20 Content: import("react").ComponentType<Pick<import("../../types").$RemoveChildren<typeof import("react-native").View> & {
21 color?: string | undefined;
22 title: import("react").ReactNode;
23 titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
24 titleRef?: import("react").RefObject<Text> | undefined;
25 subtitle?: import("react").ReactNode;
26 subtitleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
27 onPress?: (() => void) | undefined;
28 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
29 theme: ReactNativePaper.Theme;
30 }, "style" | "title" | "pointerEvents" | "color" | "onLayout" | "onPress" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "hitSlop" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "titleStyle" | "subtitle" | "subtitleStyle" | "titleRef"> & {
31 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
32 }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<import("react").ComponentType<import("../../types").$RemoveChildren<typeof import("react-native").View> & {
33 color?: string | undefined;
34 title: import("react").ReactNode;
35 titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
36 titleRef?: import("react").RefObject<Text> | undefined;
37 subtitle?: import("react").ReactNode;
38 subtitleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
39 onPress?: (() => void) | undefined;
40 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
41 theme: ReactNativePaper.Theme;
42 }> & {
43 ({ color: titleColor, subtitle, subtitleStyle, onPress, style, titleRef, titleStyle, theme, title, ...rest }: import("../../types").$RemoveChildren<typeof import("react-native").View> & {
44 color?: string | undefined;
45 title: import("react").ReactNode;
46 titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
47 titleRef?: import("react").RefObject<Text> | undefined;
48 subtitle?: import("react").ReactNode;
49 subtitleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
50 onPress?: (() => void) | undefined;
51 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
52 theme: ReactNativePaper.Theme;
53 }): JSX.Element;
54 displayName: string;
55 }, {}>;
56 Action: {
57 ({ size, color: iconColor, icon, disabled, onPress, accessibilityLabel, ...rest }: (Pick<Pick<import("../../types").$RemoveChildren<import("react").ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
58 borderless?: boolean | undefined;
59 background?: Object | undefined;
60 centered?: boolean | undefined;
61 disabled?: boolean | undefined;
62 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
63 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
64 rippleColor?: string | undefined;
65 underlayColor?: string | undefined;
66 children: import("react").ReactNode;
67 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
68 theme: ReactNativePaper.Theme;
69 }, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof import("react").RefAttributes<import("react-native").TouchableWithoutFeedback>> & {
70 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
71 }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<import("react").ComponentType<import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
72 borderless?: boolean | undefined;
73 background?: Object | undefined;
74 centered?: boolean | undefined;
75 disabled?: boolean | undefined;
76 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
77 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
78 rippleColor?: string | undefined;
79 underlayColor?: string | undefined;
80 children: import("react").ReactNode;
81 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
82 theme: ReactNativePaper.Theme;
83 }> & {
84 ({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
85 borderless?: boolean | undefined;
86 background?: Object | undefined;
87 centered?: boolean | undefined;
88 disabled?: boolean | undefined;
89 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
90 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
91 rippleColor?: string | undefined;
92 underlayColor?: string | undefined;
93 children: import("react").ReactNode;
94 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
95 theme: ReactNativePaper.Theme;
96 }): JSX.Element;
97 supported: boolean;
98 }, {}>> & {
99 icon: import("../Icon").IconSource;
100 color?: string | undefined;
101 size?: number | undefined;
102 disabled?: boolean | undefined;
103 animated?: boolean | undefined;
104 accessibilityLabel?: string | undefined;
105 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
106 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
107 ref?: import("react").RefObject<import("react-native").TouchableWithoutFeedback> | undefined;
108 theme: ReactNativePaper.Theme;
109 }, "style" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "ref" | "key" | "hitSlop" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated"> & {
110 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
111 }, "style" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "key" | "hitSlop" | "theme" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated"> | Pick<Pick<import("../../types").$RemoveChildren<import("react").ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
112 borderless?: boolean | undefined;
113 background?: Object | undefined;
114 centered?: boolean | undefined;
115 disabled?: boolean | undefined;
116 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
117 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
118 rippleColor?: string | undefined;
119 underlayColor?: string | undefined;
120 children: import("react").ReactNode;
121 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
122 theme: ReactNativePaper.Theme;
123 }, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof import("react").RefAttributes<import("react-native").TouchableWithoutFeedback>> & {
124 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
125 }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<import("react").ComponentType<import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
126 borderless?: boolean | undefined;
127 background?: Object | undefined;
128 centered?: boolean | undefined;
129 disabled?: boolean | undefined;
130 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
131 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
132 rippleColor?: string | undefined;
133 underlayColor?: string | undefined;
134 children: import("react").ReactNode;
135 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
136 theme: ReactNativePaper.Theme;
137 }> & {
138 ({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
139 borderless?: boolean | undefined;
140 background?: Object | undefined;
141 centered?: boolean | undefined;
142 disabled?: boolean | undefined;
143 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
144 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
145 rippleColor?: string | undefined;
146 underlayColor?: string | undefined;
147 children: import("react").ReactNode;
148 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
149 theme: ReactNativePaper.Theme;
150 }): JSX.Element;
151 supported: boolean;
152 }, {}>> & {
153 icon: import("../Icon").IconSource;
154 color?: string | undefined;
155 size?: number | undefined;
156 disabled?: boolean | undefined;
157 animated?: boolean | undefined;
158 accessibilityLabel?: string | undefined;
159 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
160 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
161 ref?: import("react").RefObject<import("react-native").TouchableWithoutFeedback> | undefined;
162 theme: ReactNativePaper.Theme;
163 }, "style" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "ref" | "key" | "hitSlop" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated"> & {
164 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
165 } & {
166 children?: import("react").ReactNode;
167 }, "style" | "children" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "key" | "hitSlop" | "theme" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated">) & {
168 color?: string | undefined;
169 icon: import("../Icon").IconSource;
170 size?: number | undefined;
171 disabled?: boolean | undefined;
172 accessibilityLabel?: string | undefined;
173 onPress?: (() => void) | undefined;
174 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
175 ref?: import("react").RefObject<import("react-native").TouchableWithoutFeedback> | undefined;
176 }): JSX.Element;
177 displayName: string;
178 };
179 BackAction: {
180 ({ accessibilityLabel, ...rest }: import("../../types").$Omit<Pick<Pick<Pick<import("../../types").$RemoveChildren<import("react").ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
181 borderless?: boolean | undefined;
182 background?: Object | undefined;
183 centered?: boolean | undefined;
184 disabled?: boolean | undefined;
185 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
186 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
187 rippleColor?: string | undefined;
188 underlayColor?: string | undefined;
189 children: import("react").ReactNode;
190 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
191 theme: ReactNativePaper.Theme;
192 }, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof import("react").RefAttributes<import("react-native").TouchableWithoutFeedback>> & {
193 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
194 }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<import("react").ComponentType<import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
195 borderless?: boolean | undefined;
196 background?: Object | undefined;
197 centered?: boolean | undefined;
198 disabled?: boolean | undefined;
199 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
200 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
201 rippleColor?: string | undefined;
202 underlayColor?: string | undefined;
203 children: import("react").ReactNode;
204 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
205 theme: ReactNativePaper.Theme;
206 }> & {
207 ({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
208 borderless?: boolean | undefined;
209 background?: Object | undefined;
210 centered?: boolean | undefined;
211 disabled?: boolean | undefined;
212 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
213 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
214 rippleColor?: string | undefined;
215 underlayColor?: string | undefined;
216 children: import("react").ReactNode;
217 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
218 theme: ReactNativePaper.Theme;
219 }): JSX.Element;
220 supported: boolean;
221 }, {}>> & {
222 icon: import("../Icon").IconSource;
223 color?: string | undefined;
224 size?: number | undefined;
225 disabled?: boolean | undefined;
226 animated?: boolean | undefined;
227 accessibilityLabel?: string | undefined;
228 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
229 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
230 ref?: import("react").RefObject<import("react-native").TouchableWithoutFeedback> | undefined;
231 theme: ReactNativePaper.Theme;
232 }, "style" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "ref" | "key" | "hitSlop" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated"> & {
233 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
234 }, "style" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "key" | "hitSlop" | "theme" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated"> & {
235 color?: string | undefined;
236 icon: import("../Icon").IconSource;
237 size?: number | undefined;
238 disabled?: boolean | undefined;
239 accessibilityLabel?: string | undefined;
240 onPress?: (() => void) | undefined;
241 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
242 ref?: import("react").RefObject<import("react-native").TouchableWithoutFeedback> | undefined;
243 }, "style" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "key" | "hitSlop" | "theme" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated"> | Pick<Pick<Pick<import("../../types").$RemoveChildren<import("react").ComponentType<Pick<import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
244 borderless?: boolean | undefined;
245 background?: Object | undefined;
246 centered?: boolean | undefined;
247 disabled?: boolean | undefined;
248 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
249 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
250 rippleColor?: string | undefined;
251 underlayColor?: string | undefined;
252 children: import("react").ReactNode;
253 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
254 theme: ReactNativePaper.Theme;
255 }, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof import("react").RefAttributes<import("react-native").TouchableWithoutFeedback>> & {
256 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
257 }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<import("react").ComponentType<import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
258 borderless?: boolean | undefined;
259 background?: Object | undefined;
260 centered?: boolean | undefined;
261 disabled?: boolean | undefined;
262 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
263 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
264 rippleColor?: string | undefined;
265 underlayColor?: string | undefined;
266 children: import("react").ReactNode;
267 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
268 theme: ReactNativePaper.Theme;
269 }> & {
270 ({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & import("react").RefAttributes<import("react-native").TouchableWithoutFeedback> & {
271 borderless?: boolean | undefined;
272 background?: Object | undefined;
273 centered?: boolean | undefined;
274 disabled?: boolean | undefined;
275 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
276 onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
277 rippleColor?: string | undefined;
278 underlayColor?: string | undefined;
279 children: import("react").ReactNode;
280 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
281 theme: ReactNativePaper.Theme;
282 }): JSX.Element;
283 supported: boolean;
284 }, {}>> & {
285 icon: import("../Icon").IconSource;
286 color?: string | undefined;
287 size?: number | undefined;
288 disabled?: boolean | undefined;
289 animated?: boolean | undefined;
290 accessibilityLabel?: string | undefined;
291 onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
292 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
293 ref?: import("react").RefObject<import("react-native").TouchableWithoutFeedback> | undefined;
294 theme: ReactNativePaper.Theme;
295 }, "style" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "ref" | "key" | "hitSlop" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated"> & {
296 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
297 } & {
298 children?: import("react").ReactNode;
299 }, "style" | "children" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "key" | "hitSlop" | "theme" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated"> & {
300 color?: string | undefined;
301 icon: import("../Icon").IconSource;
302 size?: number | undefined;
303 disabled?: boolean | undefined;
304 accessibilityLabel?: string | undefined;
305 onPress?: (() => void) | undefined;
306 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
307 ref?: import("react").RefObject<import("react-native").TouchableWithoutFeedback> | undefined;
308 }, "style" | "children" | "color" | "size" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "icon" | "key" | "hitSlop" | "theme" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "animated">, "icon"> & {
309 color?: string | undefined;
310 size?: number | undefined;
311 disabled?: boolean | undefined;
312 accessibilityLabel?: string | undefined;
313 onPress?: (() => void) | undefined;
314 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
315 }): JSX.Element;
316 displayName: string;
317 };
318 Header: import("react").ComponentType<(Pick<Pick<Partial<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
319 dark?: boolean | undefined;
320 children: import("react").ReactNode;
321 theme: ReactNativePaper.Theme;
322 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
323 }, keyof import("react-native").ViewProps | "dark" | keyof import("react").RefAttributes<import("react-native").View>> & {
324 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
325 } & {
326 dark?: boolean | undefined;
327 statusBarHeight?: number | undefined;
328 children: import("react").ReactNode;
329 theme: ReactNativePaper.Theme;
330 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
331 }, keyof import("react-native").ViewProps | "dark" | keyof import("react").RefAttributes<import("react-native").View> | "statusBarHeight"> | Pick<Pick<Partial<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
332 dark?: boolean | undefined;
333 children: import("react").ReactNode;
334 theme: ReactNativePaper.Theme;
335 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
336 }, keyof import("react-native").ViewProps | "dark" | keyof import("react").RefAttributes<import("react-native").View>> & {
337 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
338 } & {
339 children?: import("react").ReactNode;
340 } & {
341 dark?: boolean | undefined;
342 statusBarHeight?: number | undefined;
343 children: import("react").ReactNode;
344 theme: ReactNativePaper.Theme;
345 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
346 }, keyof import("react-native").ViewProps | "dark" | keyof import("react").RefAttributes<import("react-native").View> | "statusBarHeight">) & {
347 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
348 }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<import("react").ComponentType<((Pick<Partial<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
349 dark?: boolean | undefined;
350 children: import("react").ReactNode;
351 theme: ReactNativePaper.Theme;
352 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
353 }, keyof import("react-native").ViewProps | "dark" | keyof import("react").RefAttributes<import("react-native").View>> & {
354 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
355 }) | (Pick<Partial<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
356 dark?: boolean | undefined;
357 children: import("react").ReactNode;
358 theme: ReactNativePaper.Theme;
359 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
360 }, keyof import("react-native").ViewProps | "dark" | keyof import("react").RefAttributes<import("react-native").View>> & {
361 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
362 } & {
363 children?: import("react").ReactNode;
364 })) & {
365 dark?: boolean | undefined;
366 statusBarHeight?: number | undefined;
367 children: import("react").ReactNode;
368 theme: ReactNativePaper.Theme;
369 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
370 }> & {
371 (props: ((Pick<Partial<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
372 dark?: boolean | undefined;
373 children: import("react").ReactNode;
374 theme: ReactNativePaper.Theme;
375 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
376 }, keyof import("react-native").ViewProps | "dark" | keyof import("react").RefAttributes<import("react-native").View>> & {
377 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
378 }) | (Pick<Partial<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
379 dark?: boolean | undefined;
380 children: import("react").ReactNode;
381 theme: ReactNativePaper.Theme;
382 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
383 }, keyof import("react-native").ViewProps | "dark" | keyof import("react").RefAttributes<import("react-native").View>> & {
384 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
385 } & {
386 children?: import("react").ReactNode;
387 })) & {
388 dark?: boolean | undefined;
389 statusBarHeight?: number | undefined;
390 children: import("react").ReactNode;
391 theme: ReactNativePaper.Theme;
392 style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
393 }): JSX.Element;
394 displayName: string;
395 }, {}>;
396};
397export default Appbar;
398
\No newline at end of file