Skip to content

Commit a0a897d

Browse files
authored
chore(docs): Added screenshots for headerSearchBarOptions (#1355)
1 parent 90f12bb commit a0a897d

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
@@ -397,12 +397,16 @@ The search field background color. By default bar tint color is translucent.
397397

398398
Only supported on iOS.
399399

400+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-barTintColor.png" width="500" alt="Header search bar options - Bar tint color" />
401+
400402
##### `tintColor`
401403

402404
The color for the cursor caret and cancel button text.
403405

404406
Only supported on iOS.
405407

408+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-tintColor.png" width="500" alt="Header search bar options - Tint color" />
409+
406410
##### `cancelButtonText`
407411

408412
The text to be used instead of default `Cancel` button text.
@@ -452,18 +456,24 @@ Text displayed when search field is empty.
452456

453457
The color of the text in the search field.
454458

459+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-textColor.png" width="500" alt="Header search bar options - Text color" />
460+
455461
##### `hintTextColor`
456462

457463
The color of the hint text in the search field.
458464

459465
Only supported on Android.
460466

467+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-hintTextColor.png" width="500" alt="Header search bar options - Hint text color" />
468+
461469
##### `headerIconColor`
462470

463471
The color of the search and close icons shown in the header
464472

465473
Only supported on Android.
466474

475+
<img src="/assets/7.x/native-stack/headerSearchBarOptions-headerIconColor.png" width="500" alt="Header search bar options - Header icon color" />
476+
467477
##### `shouldShowHintSearchIcon`
468478

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

0 commit comments

Comments
 (0)