Skip to content

Commit de16b42

Browse files
committed
chore(docs): Added screenshots for headerSearchBarOptions
1 parent cd5fe4b commit de16b42

File tree

6 files changed

+10
-0
lines changed

6 files changed

+10
-0
lines changed
Loading
Loading
Loading
Loading
Loading

versioned_docs/version-7.x/native-stack-navigator.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,12 +376,16 @@ The search field background color. By default bar tint color is translucent.
376376

377377
Only supported on iOS.
378378

379+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-barTintColor.png" width="500" alt="Header search bar options - Bar tint color" />
380+
379381
##### `tintColor`
380382

381383
The color for the cursor caret and cancel button text.
382384

383385
Only supported on iOS.
384386

387+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-tintColor.png" width="500" alt="Header search bar options - Tint color" />
388+
385389
##### `cancelButtonText`
386390

387391
The text to be used instead of default `Cancel` button text.
@@ -431,18 +435,24 @@ Text displayed when search field is empty.
431435

432436
The color of the text in the search field.
433437

438+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-textColor.png" width="500" alt="Header search bar options - Text color" />
439+
434440
##### `hintTextColor`
435441

436442
The color of the hint text in the search field.
437443

438444
Only supported on Android.
439445

446+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-hintTextColor.png" width="500" alt="Header search bar options - Hint text color" />
447+
440448
##### `headerIconColor`
441449

442450
The color of the search and close icons shown in the header
443451

444452
Only supported on Android.
445453

454+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-headerIconColor.png" width="500" alt="Header search bar options - Header icon color" />
455+
446456
##### `shouldShowHintSearchIcon`
447457

448458
Whether to show the search hint icon when search bar is focused. Defaults to `true`.

0 commit comments

Comments
 (0)