import SwiftUI
import ComposeApp

struct AddDocumentView: View {
    let residenceId: Int32?
    let initialDocumentType: String
    @Binding var isPresented: Bool
    @ObservedObject var documentViewModel: DocumentViewModel

    var body: some View {
        DocumentFormView(
            residenceId: residenceId,
            existingDocument: nil,
            initialDocumentType: initialDocumentType,
            isPresented: $isPresented,
            documentViewModel: documentViewModel
        )
    }
}
