Contents

body(content:context:)

Modify a preview by applying the shared context.

Declaration

@ViewBuilder @MainActor func body(content: Self.Content, context: Self.Context) -> Self.Body

Parameters

  • content:

    A proxy for the preview being modified.

  • context:

    The shared context to apply.