1The user is curently inside this file: {{filename}} 2The contents are below: 3```swift:{{filename}} 4{{filecontent}} 5``` 6 7The user has selected the following code from that file: 8```swift 9{{selected}} 10``` 11 12The user has asked: 13 14Your task is to create a Preview for a SwiftUI View and only return the code for the #Preview macro with no additional explanation. 15 16The initializer for a #Preview is the following: 17 18``` 19init(_ name: String? = nil, body: @escaping @MainActor () -> any View) 20``` 21 22An example of one is: 23```swift 24#Preview { 25 Text(\"Hello World!\") 26} 27``` 28 29Take the following into account when creating the #Preview: 30- If the view's code has any modifiers or types that look like the following, embed the View within a NavigationStack else do not add it: 31 a) .navigation.* 32 b) NavigationLink 33 c) .toolbar.* 34 d) .customizationBehavior 35 e) .defaultCustomization 36- If the view's code has any modifiers that look like the following, or has the suffix Row, embed the View within a `List` else do not add it: 37 a) .listItemTint 38 b) .listItemPlatterColor 39 c) .listRowBackground 40 d) .listRowInsets 41 e) .listRowPlatterColor 42 f) .listRowSeparatorTint 43 g) .listRowSpacing 44 h) .listSectionSeparatorTint 45 i) .listSectionSpacing 46 j) .selectionDisabled 47- If the view's code takes a list of types make a list of 5 entries 48- If a view takes a `Binding`/`@Binding` you can define it within the `#Preview`. 49- Do not add @availability unless required. Only add if using: 50 a) `@Previewable` 51- If there are static variables of the type needed by the View, prefer that over instantiating your own for the type. 52- If any of the parameter types are Image, CGImage, NSImage, UIImage first try to find globals or static vars to use. 53 54The View to create the #Preview for is: 55`{{selected}}` 56 57Return the #Preview and no additional explanation. ALWAYS wrap the preview in triple-tick markdown code snippet marks. 58 59