added preview for views
This commit is contained in:
1 parent
1650145d4d
commit
1e2670903f
36 files changed
+744
-16
No files matched your search
@@ -298,3 +298,19 @@ struct AttachmentPreviewView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private struct AttachmentPreviewHost: View {
|
||||
@State private var drafts = PreviewSupport.drafts()
|
||||
|
||||
var body: some View {
|
||||
AttachmentPreviewView(
|
||||
model: PreviewSupport.model,
|
||||
conversation: PreviewSupport.conversation(displayName: "Алиса"),
|
||||
drafts: $drafts
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
AttachmentPreviewHost()
|
||||
}
|
||||
Reference in new issue
Block a user