You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/upgrade-to-6.0.md
+28-12Lines changed: 28 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,18 +51,14 @@ The [notification banner](https://service-manual.nhs.uk/design-system/components
51
51
All components have been tested as React Server Components (RSC) but due to [multipart namespace component limitations](https://ivicabatinic.from.hr/posts/multipart-namespace-components-addressing-rsc-and-dot-notation-issues) an alternative syntax (without dot notation) can be used as a workaround:
@@ -441,6 +437,26 @@ To align with NHS.UK frontend, the error summary component is automatically aler
441
437
</ErrorSummary>
442
438
```
443
439
440
+
### Pagination
441
+
442
+
To align with NHS.UK frontend, the pagination link component automatically renders its own "Previous page" or "Next page" text, with "page" being visually hidden. You will need to make the following changes:
443
+
444
+
- rename the `Pagination.Link` component to `Pagination.Item`
445
+
- move text content (or the `children` prop) to the `labelText` prop
0 commit comments