UNPKG

26 kBTypeScriptView Raw
1import React from 'react';
2import { Animated, NativeSyntheticEvent, ViewProps, View, TargetedEvent, TextInputFocusEventData, ColorValue } from 'react-native';
3import { NativeStackNavigatorProps } from './native-stack/types';
4export type SearchBarCommands = {
5 focus: () => void;
6 blur: () => void;
7 clearText: () => void;
8 toggleCancelButton: (show: boolean) => void;
9 setText: (text: string) => void;
10 cancelSearch: () => void;
11};
12export type BackButtonDisplayMode = 'default' | 'generic' | 'minimal';
13export type StackPresentationTypes = 'push' | 'modal' | 'transparentModal' | 'containedModal' | 'containedTransparentModal' | 'fullScreenModal' | 'formSheet';
14export type StackAnimationTypes = 'default' | 'fade' | 'fade_from_bottom' | 'flip' | 'none' | 'simple_push' | 'slide_from_bottom' | 'slide_from_right' | 'slide_from_left' | 'ios';
15export type BlurEffectTypes = 'extraLight' | 'light' | 'dark' | 'regular' | 'prominent' | 'systemUltraThinMaterial' | 'systemThinMaterial' | 'systemMaterial' | 'systemThickMaterial' | 'systemChromeMaterial' | 'systemUltraThinMaterialLight' | 'systemThinMaterialLight' | 'systemMaterialLight' | 'systemThickMaterialLight' | 'systemChromeMaterialLight' | 'systemUltraThinMaterialDark' | 'systemThinMaterialDark' | 'systemMaterialDark' | 'systemThickMaterialDark' | 'systemChromeMaterialDark';
16export type ScreenReplaceTypes = 'push' | 'pop';
17export type SwipeDirectionTypes = 'vertical' | 'horizontal';
18export type ScreenOrientationTypes = 'default' | 'all' | 'portrait' | 'portrait_up' | 'portrait_down' | 'landscape' | 'landscape_left' | 'landscape_right';
19export type HeaderSubviewTypes = 'back' | 'right' | 'left' | 'center' | 'searchBar';
20export type HeaderHeightChangeEventType = {
21 headerHeight: number;
22};
23export type TransitionProgressEventType = {
24 progress: number;
25 closing: number;
26 goingForward: number;
27};
28export type GestureResponseDistanceType = {
29 start?: number;
30 end?: number;
31 top?: number;
32 bottom?: number;
33};
34export type SheetDetentTypes = 'medium' | 'large' | 'all';
35export type SearchBarPlacement = 'automatic' | 'inline' | 'stacked';
36export interface ScreenProps extends ViewProps {
37 active?: 0 | 1 | Animated.AnimatedInterpolation<number>;
38 activityState?: 0 | 1 | 2 | Animated.AnimatedInterpolation<number>;
39 children?: React.ReactNode;
40 /**
41 * Boolean indicating that swipe dismissal should trigger animation provided by `stackAnimation`. Defaults to `false`.
42 *
43 * @platform ios
44 */
45 customAnimationOnSwipe?: boolean;
46 /**
47 * All children screens should have the same value of their "enabled" prop as their container.
48 */
49 enabled?: boolean;
50 /**
51 * Internal boolean used to not attach events used only by native-stack. It prevents non native-stack navigators from sending transition progress from their Screen components.
52 */
53 isNativeStack?: boolean;
54 /**
55 * Internal boolean used to detect if current header has large title on iOS.
56 */
57 hasLargeHeader?: boolean;
58 /**
59 * Whether inactive screens should be suspended from re-rendering. Defaults to `false`.
60 * When `enableFreeze()` is run at the top of the application defaults to `true`.
61 */
62 freezeOnBlur?: boolean;
63 /**
64 * Boolean indicating whether the swipe gesture should work on whole screen. Swiping with this option results in the same transition animation as `simple_push` by default.
65 * It can be changed to other custom animations with `customAnimationOnSwipe` prop, but default iOS swipe animation is not achievable due to usage of custom recognizer.
66 * Defaults to `false`.
67 *
68 * @platform ios
69 */
70 fullScreenSwipeEnabled?: boolean;
71 /**
72 * Whether you can use gestures to dismiss this screen. Defaults to `true`.
73 *
74 * @platform ios
75 */
76 gestureEnabled?: boolean;
77 /**
78 * Use it to restrict the distance from the edges of screen in which the gesture should be recognized. To be used alongside `fullScreenSwipeEnabled`.
79 *
80 * @platform ios
81 */
82 gestureResponseDistance?: GestureResponseDistanceType;
83 /**
84 * Whether the home indicator should be hidden on this screen. Defaults to `false`.
85 *
86 * @platform ios
87 */
88 homeIndicatorHidden?: boolean;
89 /**
90 * Whether the keyboard should hide when swiping to the previous screen. Defaults to `false`.
91 *
92 * @platform ios
93 */
94 hideKeyboardOnSwipe?: boolean;
95 /**
96 * Boolean indicating whether, when the Android default back button is clicked, the `pop` action should be performed on the native side or on the JS side to be able to prevent it.
97 * Unfortunately the same behavior is not available on iOS since the behavior of native back button cannot be changed there.
98 * Defaults to `false`.
99 *
100 * @platform android
101 */
102 nativeBackButtonDismissalEnabled?: boolean;
103 /**
104 * Sets the navigation bar color. Defaults to initial status bar color.
105 *
106 * @platform android
107 */
108 navigationBarColor?: ColorValue;
109 /**
110 * Boolean indicating whether the content should be visible behind the navigation bar. Defaults to `false`.
111 *
112 * @platform android
113 */
114 navigationBarTranslucent?: boolean;
115 /**
116 * Sets the visibility of the navigation bar. Defaults to `false`.
117 *
118 * @platform android
119 */
120 navigationBarHidden?: boolean;
121 /**
122 * A callback that gets called when the current screen appears.
123 */
124 onAppear?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
125 onComponentRef?: (view: unknown) => void;
126 /**
127 * A callback that gets called when the current screen disappears.
128 */
129 onDisappear?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
130 /**
131 * A callback that gets called when the current screen is dismissed by hardware back (on Android) or dismiss gesture (swipe back or down).
132 * The callback takes the number of dismissed screens as an argument since iOS 14 native header back button can pop more than 1 screen at a time.
133 */
134 onDismissed?: (e: NativeSyntheticEvent<{
135 dismissCount: number;
136 }>) => void;
137 /**
138 * A callback that gets called when the header height has changed.
139 */
140 onHeaderHeightChange?: (e: NativeSyntheticEvent<HeaderHeightChangeEventType>) => void;
141 /**
142 * A callback that gets called after swipe back is canceled.
143 */
144 onGestureCancel?: (e: NativeSyntheticEvent<null>) => void;
145 /**
146 * An internal callback that gets called when the native header back button is clicked on Android and `enableNativeBackButtonDismissal` is set to `false`. It dismises the screen using `navigation.pop()`.
147 *
148 * @platform android
149 */
150 onHeaderBackButtonClicked?: () => void;
151 /**
152 * An internal callback called when screen is dismissed by gesture or by native header back button and `preventNativeDismiss` is set to `true`.
153 *
154 * @platform ios
155 */
156 onNativeDismissCancelled?: (e: NativeSyntheticEvent<{
157 dismissCount: number;
158 }>) => void;
159 /**
160 * An internal callback called every frame during the transition of screens of `native-stack`, used to feed transition context.
161 */
162 onTransitionProgress?: (e: NativeSyntheticEvent<TransitionProgressEventType>) => void;
163 /**
164 * A callback that gets called when the current screen will appear. This is called as soon as the transition begins.
165 */
166 onWillAppear?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
167 /**
168 * A callback that gets called when the current screen will disappear. This is called as soon as the transition begins.
169 */
170 onWillDisappear?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
171 /**
172 * Boolean indicating whether to prevent current screen from being dismissed.
173 * Defaults to `false`.
174 *
175 * @platform ios
176 */
177 preventNativeDismiss?: boolean;
178 ref?: React.Ref<View>;
179 /**
180 * How should the screen replacing another screen animate. Defaults to `pop`.
181 * The following values are currently supported:
182 * - "push" – the new screen will perform push animation.
183 * - "pop" – the new screen will perform pop animation.
184 */
185 replaceAnimation?: ScreenReplaceTypes;
186 /**
187 * In which orientation should the screen appear.
188 * The following values are currently supported:
189 * - "default" - resolves to "all" without "portrait_down" on iOS. On Android, this lets the system decide the best orientation.
190 * - "all" – all orientations are permitted
191 * - "portrait" – portrait orientations are permitted
192 * - "portrait_up" – right-side portrait orientation is permitted
193 * - "portrait_down" – upside-down portrait orientation is permitted
194 * - "landscape" – landscape orientations are permitted
195 * - "landscape_left" – landscape-left orientation is permitted
196 * - "landscape_right" – landscape-right orientation is permitted
197 */
198 screenOrientation?: ScreenOrientationTypes;
199 /**
200 * Describes heights where a sheet can rest.
201 * Works only when `stackPresentation` is set to `formSheet`.
202 * Defaults to `large`.
203 *
204 * Available values:
205 *
206 * - `large` - only large detent level will be allowed
207 * - `medium` - only medium detent level will be allowed
208 * - `all` - all detent levels will be allowed
209 *
210 * @platform ios
211 */
212 sheetAllowedDetents?: SheetDetentTypes;
213 /**
214 * Whether the sheet should expand to larger detent when scrolling.
215 * Works only when `stackPresentation` is set to `formSheet`.
216 * Defaults to `true`.
217 *
218 * @platform ios
219 */
220 sheetExpandsWhenScrolledToEdge?: boolean;
221 /**
222 * The corner radius that the sheet will try to render with.
223 * Works only when `stackPresentation` is set to `formSheet`.
224 *
225 * If set to non-negative value it will try to render sheet with provided radius, else it will apply system default.
226 *
227 * If left unset system default is used.
228 *
229 * @platform ios
230 */
231 sheetCornerRadius?: number;
232 /**
233 * Boolean indicating whether the sheet shows a grabber at the top.
234 * Works only when `stackPresentation` is set to `formSheet`.
235 * Defaults to `false`.
236 *
237 * @platform ios
238 */
239 sheetGrabberVisible?: boolean;
240 /**
241 * The largest sheet detent for which a view underneath won't be dimmed.
242 * Works only when `stackPresentation` is set to `formSheet`.
243 *
244 * If this prop is set to:
245 *
246 * - `large` - the view underneath won't be dimmed at any detent level
247 * - `medium` - the view underneath will be dimmed only when detent level is `large`
248 * - `all` - the view underneath will be dimmed for any detent level
249 *
250 * Defaults to `all`.
251 *
252 * @platform ios
253 */
254 sheetLargestUndimmedDetent?: SheetDetentTypes;
255 /**
256 * How the screen should appear/disappear when pushed or popped at the top of the stack.
257 * The following values are currently supported:
258 * - "default" – uses a platform default animation
259 * - "fade" – fades screen in or out
260 * - "fade_from_bottom" – performs a fade from bottom animation
261 * - "flip" – flips the screen, requires stackPresentation: "modal" (iOS only)
262 * - "simple_push" – performs a default animation, but without shadow and native header transition (iOS only)
263 * - `slide_from_bottom` – performs a slide from bottom animation
264 * - "slide_from_right" - slide in the new screen from right to left (Android only, resolves to default transition on iOS)
265 * - "slide_from_left" - slide in the new screen from left to right
266 * - "ios" - iOS like slide in animation (Android only, resolves to default transition on iOS)
267 * - "none" – the screen appears/dissapears without an animation
268 */
269 stackAnimation?: StackAnimationTypes;
270 /**
271 * How should the screen be presented.
272 * The following values are currently supported:
273 * - "push" – the new screen will be pushed onto a stack which on iOS means that the default animation will be slide from the side, the animation on Android may vary depending on the OS version and theme.
274 * - "modal" – the new screen will be presented modally. In addition this allow for a nested stack to be rendered inside such screens.
275 * - "transparentModal" – the new screen will be presented modally but in addition the second to last screen will remain attached to the stack container such that if the top screen is non opaque the content below can still be seen. If "modal" is used instead the below screen will get unmounted as soon as the transition ends.
276 * - "containedModal" – will use "UIModalPresentationCurrentContext" modal style on iOS and will fallback to "modal" on Android.
277 * - "containedTransparentModal" – will use "UIModalPresentationOverCurrentContext" modal style on iOS and will fallback to "transparentModal" on Android.
278 * - "fullScreenModal" – will use "UIModalPresentationFullScreen" modal style on iOS and will fallback to "modal" on Android.
279 * - "formSheet" – will use "UIModalPresentationFormSheet" modal style on iOS and will fallback to "modal" on Android.
280 */
281 stackPresentation?: StackPresentationTypes;
282 /**
283 * Sets the status bar animation (similar to the `StatusBar` component). Requires enabling (or deleting) `View controller-based status bar appearance` in your Info.plist file on iOS.
284 */
285 statusBarAnimation?: 'none' | 'fade' | 'slide';
286 /**
287 * Sets the status bar color (similar to the `StatusBar` component). Defaults to initial status bar color.
288 *
289 * @platform android
290 */
291 statusBarColor?: ColorValue;
292 /**
293 * Whether the status bar should be hidden on this screen. Requires enabling (or deleting) `View controller-based status bar appearance` in your Info.plist file on iOS. Defaults to `false`.
294 */
295 statusBarHidden?: boolean;
296 /**
297 * Sets the status bar color (similar to the `StatusBar` component). Requires enabling (or deleting) `View controller-based status bar appearance` in your Info.plist file on iOS. Defaults to `auto`.
298 */
299 statusBarStyle?: 'inverted' | 'auto' | 'light' | 'dark';
300 /**
301 * Sets the translucency of the status bar. Defaults to `false`.
302 *
303 * @platform android
304 */
305 statusBarTranslucent?: boolean;
306 /**
307 * Sets the direction in which you should swipe to dismiss the screen.
308 * When using `vertical` option, options `fullScreenSwipeEnabled: true`, `customAnimationOnSwipe: true` and `stackAnimation: 'slide_from_bottom'` are set by default.
309 * The following values are supported:
310 * - `vertical` – dismiss screen vertically
311 * - `horizontal` – dismiss screen horizontally (default)
312 *
313 * @platform ios
314 */
315 swipeDirection?: SwipeDirectionTypes;
316 /**
317 * Changes the duration (in milliseconds) of `slide_from_bottom`, `fade_from_bottom`, `fade` and `simple_push` transitions on iOS. Defaults to `350`.
318 * The duration of `default` and `flip` transitions isn't customizable.
319 *
320 * @platform ios
321 */
322 transitionDuration?: number;
323}
324export interface ScreenContainerProps extends ViewProps {
325 children?: React.ReactNode;
326 /**
327 * A prop that gives users an option to switch between using Screens for the navigator (container). All children screens should have the same value of their "enabled" prop as their container.
328 */
329 enabled?: boolean;
330 /**
331 * A prop to be used in navigators always showing only one screen (providing only `0` or `2` `activityState` values) for better implementation of `ScreenContainer` on iOS.
332 */
333 hasTwoStates?: boolean;
334}
335export interface GestureDetectorBridge {
336 stackUseEffectCallback: (stackRef: React.MutableRefObject<React.Ref<NativeStackNavigatorProps>>) => void;
337}
338export interface ScreenStackProps extends ViewProps {
339 children?: React.ReactNode;
340 /**
341 * A callback that gets called when the current screen finishes its transition.
342 */
343 onFinishTransitioning?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
344 gestureDetectorBridge?: React.MutableRefObject<GestureDetectorBridge>;
345 ref?: React.MutableRefObject<React.Ref<View>>;
346}
347export interface ScreenStackHeaderConfigProps extends ViewProps {
348 /**
349 * Whether to show the back button with custom left side of the header.
350 */
351 backButtonInCustomView?: boolean;
352 /**
353 * Controls the color of the navigation header.
354 */
355 backgroundColor?: ColorValue;
356 /**
357 * Title to display in the back button.
358 * @platform ios.
359 */
360 backTitle?: string;
361 /**
362 * Allows for customizing font family to be used for back button title on iOS.
363 * @platform ios
364 */
365 backTitleFontFamily?: string;
366 /**
367 * Allows for customizing font size to be used for back button title on iOS.
368 * @platform ios
369 */
370 backTitleFontSize?: number;
371 /**
372 * Whether the back button title should be visible or not. Defaults to `true`.
373 * @platform ios
374 */
375 backTitleVisible?: boolean;
376 /**
377 * Blur effect to be applied to the header. Works with backgroundColor's alpha < 1.
378 * @platform ios
379 */
380 blurEffect?: BlurEffectTypes;
381 /**
382 * Pass HeaderLeft, HeaderRight and HeaderTitle
383 */
384 children?: React.ReactNode;
385 /**
386 * Controls the color of items rendered on the header. This includes back icon, back text (iOS only) and title text. If you want the title to have different color use titleColor property.
387 */
388 color?: ColorValue;
389 /**
390 * Whether the stack should be in rtl or ltr form.
391 */
392 direction?: 'rtl' | 'ltr';
393 /**
394 * Boolean indicating whether to show the menu on longPress of iOS >= 14 back button.
395 * @platform ios
396 */
397 disableBackButtonMenu?: boolean;
398 /**
399 * How the back button behaves by default (when not customized). Available on iOS>=14, and is used only when none of: `backTitleFontFamily`, `backTitleFontSize`, `disableBackButtonMenu` or `backTitle` is set.
400 * The following values are currently supported (they correspond to https://developer.apple.com/documentation/uikit/uinavigationitembackbuttondisplaymode?language=objc):
401 * - "default" – show given back button previous controller title, system generic or just icon based on available space
402 * - "generic" – show given system generic or just icon based on available space
403 * - "minimal" – show just an icon
404 * @platform ios
405 */
406 backButtonDisplayMode?: BackButtonDisplayMode;
407 /**
408 * When set to true the header will be hidden while the parent Screen is on the top of the stack. The default value is false.
409 */
410 hidden?: boolean;
411 /**
412 * Boolean indicating whether to hide the back button in header.
413 */
414 hideBackButton?: boolean;
415 /**
416 * Boolean indicating whether to hide the elevation shadow or the bottom border on the header.
417 */
418 hideShadow?: boolean;
419 /**
420 * Boolean to set native property to prefer large title header (like in iOS setting).
421 * For large title to collapse on scroll, the content of the screen should be wrapped in a scrollable view such as `ScrollView` or `FlatList`.
422 * If the scrollable area doesn't fill the screen, the large title won't collapse on scroll.
423 * Only supported on iOS.
424 *
425 * @platform ios
426 */
427 largeTitle?: boolean;
428 /**
429 * Controls the color of the navigation header when the edge of any scrollable content reaches the matching edge of the navigation bar.
430 */
431 largeTitleBackgroundColor?: ColorValue;
432 /**
433 * Customize the color to be used for the large title. By default uses the titleColor property.
434 * @platform ios
435 */
436 largeTitleColor?: ColorValue;
437 /**
438 * Customize font family to be used for the large title.
439 * @platform ios
440 */
441 largeTitleFontFamily?: string;
442 /**
443 * Customize the size of the font to be used for the large title.
444 * @platform ios
445 */
446 largeTitleFontSize?: number;
447 /**
448 * Customize the weight of the font to be used for the large title.
449 * @platform ios
450 */
451 largeTitleFontWeight?: string;
452 /**
453 * Boolean that allows for disabling drop shadow under navigation header when the edge of any scrollable content reaches the matching edge of the navigation bar.
454 */
455 largeTitleHideShadow?: boolean;
456 /**
457 * Callback which is executed when screen header is attached
458 */
459 onAttached?: () => void;
460 /**
461 * Callback which is executed when screen header is detached
462 */
463 onDetached?: () => void;
464 /**
465 * String that can be displayed in the header as a fallback for `headerTitle`.
466 */
467 title?: string;
468 /**
469 * Allows for setting text color of the title.
470 */
471 titleColor?: ColorValue;
472 /**
473 * Customize font family to be used for the title.
474 */
475 titleFontFamily?: string;
476 /**
477 * Customize the size of the font to be used for the title.
478 */
479 titleFontSize?: number;
480 /**
481 * Customize the weight of the font to be used for the title.
482 */
483 titleFontWeight?: string;
484 /**
485 * A flag to that lets you opt out of insetting the header. You may want to
486 * set this to `false` if you use an opaque status bar. Defaults to `true`.
487 * Only supported on Android. Insets are always applied on iOS because the
488 * header cannot be opaque.
489 *
490 * @platform android
491 */
492 topInsetEnabled?: boolean;
493 /**
494 * Boolean indicating whether the navigation bar is translucent.
495 */
496 translucent?: boolean;
497}
498export interface SearchBarProps {
499 /**
500 * Reference to imperatively modify search bar.
501 *
502 * Currently supported operations are:
503 *
504 * * `focus` - focuses the search bar
505 * * `blur` - removes focus from the search bar
506 * * `clearText` - removes any text present in the search bar input field
507 * * `setText` - sets the search bar's content to given value
508 * * `cancelSearch` - cancel search in search bar.
509 * * `toggleCancelButton` - depending on passed boolean value, hides or shows cancel button (iOS only)
510 */
511 ref?: React.RefObject<SearchBarCommands>;
512 /**
513 * The auto-capitalization behavior
514 */
515 autoCapitalize?: 'none' | 'words' | 'sentences' | 'characters';
516 /**
517 * Automatically focuses search bar on mount
518 *
519 * @platform android
520 */
521 autoFocus?: boolean;
522 /**
523 * The search field background color
524 */
525 barTintColor?: ColorValue;
526 /**
527 * The color for the cursor caret and cancel button text.
528 *
529 * @platform ios
530 */
531 tintColor?: ColorValue;
532 /**
533 * The text to be used instead of default `Cancel` button text
534 *
535 * @platform ios
536 */
537 cancelButtonText?: string;
538 /**
539 * Specifies whether the back button should close search bar's text input or not.
540 *
541 * @platform android
542 */
543 disableBackButtonOverride?: boolean;
544 /**
545 * Indicates whether to hide the navigation bar
546 *
547 * @platform ios
548 */
549 hideNavigationBar?: boolean;
550 /**
551 * Indicates whether to hide the search bar when scrolling
552 *
553 * @platform ios
554 */
555 hideWhenScrolling?: boolean;
556 /**
557 * Sets type of the input. Defaults to `text`.
558 *
559 * @platform android
560 */
561 inputType?: 'text' | 'phone' | 'number' | 'email';
562 /**
563 * Indicates whether to obscure the underlying content
564 */
565 obscureBackground?: boolean;
566 /**
567 * A callback that gets called when search bar has lost focus
568 */
569 onBlur?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
570 /**
571 * A callback that gets called when the cancel button is pressed
572 *
573 * @platform ios
574 */
575 onCancelButtonPress?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
576 /**
577 * A callback that gets called when the text changes. It receives the current text value of the search bar.
578 */
579 onChangeText?: (e: NativeSyntheticEvent<TextInputFocusEventData>) => void;
580 /**
581 * A callback that gets called when search bar is closed
582 *
583 * @platform android
584 */
585 onClose?: () => void;
586 /**
587 * A callback that gets called when search bar has received focus
588 */
589 onFocus?: (e: NativeSyntheticEvent<TargetedEvent>) => void;
590 /**
591 * A callback that gets called when search bar is opened
592 *
593 * @platform android
594 */
595 onOpen?: () => void;
596 /**
597 * A callback that gets called when the search button is pressed. It receives the current text value of the search bar.
598 */
599 onSearchButtonPress?: (e: NativeSyntheticEvent<TextInputFocusEventData>) => void;
600 /**
601 * Text displayed when search field is empty
602 */
603 placeholder?: string;
604 /**
605 * Position of the search bar
606 *
607 * Supported values:
608 *
609 * * `automatic` - the search bar is placed according to current layout
610 * * `inline` - the search bar is placed on the trailing edge of navigation bar
611 * * `stacked` - the search bar is placed below the other content in navigation bar
612 *
613 * Defaults to `stacked`
614 *
615 * @platform iOS (>= 16.0)
616 */
617 placement?: SearchBarPlacement;
618 /**
619 * The search field text color
620 */
621 textColor?: ColorValue;
622 /**
623 * The search hint text color
624 *
625 * @plaform android
626 */
627 hintTextColor?: ColorValue;
628 /**
629 * The search and close icon color shown in the header
630 *
631 * @plaform android
632 */
633 headerIconColor?: ColorValue;
634 /**
635 * Show the search hint icon when search bar is focused
636 *
637 * @plaform android
638 * @default true
639 */
640 shouldShowHintSearchIcon?: boolean;
641}
642//# sourceMappingURL=types.d.ts.map
\No newline at end of file