From f841e045c03694dfebdd48d0b413ae5ccf186ff3 Mon Sep 17 00:00:00 2001 From: Florent Bonomo Date: Fri, 28 Feb 2025 15:11:43 -0500 Subject: [PATCH] fix(docs): `
` reference (#1105) `
` element might have been at some point a special element that could render as a sibling of ``, but that is no longer the case: it is now just an alias of ``. We might want to restore this original intent though in a future iteration. Co-authored-by: flochtililoch --- docs/reference_header.md | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/docs/reference_header.md b/docs/reference_header.md index 26c5228c2..cb0134e6d 100644 --- a/docs/reference_header.md +++ b/docs/reference_header.md @@ -6,27 +6,25 @@ sidebar_label:
The `
` element represents the header of a screen in the app. Typically, the header shows a title and navigation elements -An example header on a screen with a scrolling body. +An example header on a screen with a scrolling view. ```xml -
- Back - My App -
- - - Basic view - With Horizontal Layout + +
+ Back + My App +
+ + + Basic view + With Horizontal Layout +
``` -## Structure - -A `
` element can only appear as a direct child of a `` element. - ## Attributes - [Behavior attributes](#behavior-attributes)