Skip to content

Commit

Permalink
Update upgrade-to-4.0.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeb-nhs authored Mar 14, 2024
1 parent 9955ade commit dc59ddc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/upgrade-to-4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ Should now become this:
### Header

The header implementation has been simplified and a reduced set of components are on offer for this version.

The `Header.NavContainer`, `Header.NavItemList`, and `Header.NavTitle` components have been removed. Instead, the `Header.Nav` component includes the container for rendering items. The nav title has been removed, and customisation of the dropdown manu link text can be done via the `dropdownText` prop on the new `Header.NavDropdownMenu` component.

The `Header.MenuToggle` and `Header.NavMenuClose` components have been removed. Instead, these should be replaced with a usage of `Header.NavDropdownMenu` added as the last child of `Header.NavMenu`.

For example, this:
Expand Down

0 comments on commit dc59ddc

Please sign in to comment.