Skip to content

ReleaseNotesComponentConstructorParams.releaseNotesProvider

ReleaseNotesComponentConstructorParams › releaseNotesProvider

Type: () => ReleaseNotes

Builds the release notes.

Called at layout ready rather than at construction, so the fragments are built only when they may be shown, and a localized string is read after the host's translations are set up.

Every key must be a valid semantic version. The notes are shown in ascending version order, whatever order the keys were written in.