init(_:image:)
Creates a preview representation.
Declaration
init(_ title: Text, image: Image)Parameters
- title:
A title to show in a preview.
- image:
An image to show in a preview.
Creates a preview representation.
init(_ title: Text, image: Image)A title to show in a preview.
An image to show in a preview.