rememberMessageCenterPreviewState

Builds a MessageCenterMessageState that renders layout directly, without a backing Message Center message.

The state is inert: inbox actions (mark read, delete, refresh) are dropped, and no analytics are reported. Intended for previewing a layout in the real message view.

Parameters

layout

The layout to render.

title

The title shown in the message view's top bar.