Instance Method

previewDisplayName(_:)

Provides a user visible name shown in the editor.

Declaration

func previewDisplayName(_ value: String?) -> some View

Discussion

Default is nil.

See Also

Configuring View Previews

func previewDevice(PreviewDevice?) -> View

Overrides the device for a preview.

func previewLayout(PreviewLayout) -> View

Overrides the size of the container for the preview.