From 696068e82fa282d2e8e8722729ba7b3e3d050b1b Mon Sep 17 00:00:00 2001 From: Harry Tran Date: Wed, 19 Apr 2023 13:13:56 +1000 Subject: [PATCH] docs: add headerBackTestID option in Header component --- versioned_docs/version-6.x/elements.md | 4 ++++ versioned_docs/version-7.x/elements.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/versioned_docs/version-6.x/elements.md b/versioned_docs/version-6.x/elements.md index 9d424f9ca40..81fef3452e6 100644 --- a/versioned_docs/version-6.x/elements.md +++ b/versioned_docs/version-6.x/elements.md @@ -116,6 +116,10 @@ Color for material ripple (Android >= 5.0 only) Press opacity for the buttons in header (Android < 5.0, and iOS) +#### `headerBackTestID` + +TestID used on the back button. Useful for e2e testing with Detox. + #### `headerTransparent` Defaults to `false`. If `true`, the header will not have a background unless you explicitly provide it with `headerBackground`. The header will also float over the screen so that it overlaps the content underneath. diff --git a/versioned_docs/version-7.x/elements.md b/versioned_docs/version-7.x/elements.md index 9d424f9ca40..81fef3452e6 100644 --- a/versioned_docs/version-7.x/elements.md +++ b/versioned_docs/version-7.x/elements.md @@ -116,6 +116,10 @@ Color for material ripple (Android >= 5.0 only) Press opacity for the buttons in header (Android < 5.0, and iOS) +#### `headerBackTestID` + +TestID used on the back button. Useful for e2e testing with Detox. + #### `headerTransparent` Defaults to `false`. If `true`, the header will not have a background unless you explicitly provide it with `headerBackground`. The header will also float over the screen so that it overlaps the content underneath.