//
//  CompleteVC.swift
//  BreastFeedingDemo
//
//  Created by Jay Zhang on 2022/6/7.
//

import UIKit

class CompleteVC: UIViewController {
    var vm: ViewModel?
    @IBOutlet weak var containerV: UIView!

    @IBOutlet weak var titleL: UILabel!
    @IBOutlet weak var btn: UIButton!
    override func viewDidLoad() {
        super.viewDidLoad()
        overrideUserInterfaceStyle = .light
        containerV.layer.cornerRadius = 8
        titleL.text = vm?.congratulation
        btn.setTitle(vm?.completeBtn, for: .normal)
    }

    @IBAction func okAction(_ sender: Any) {
        dismiss(animated: true)
    }
    /*
     // MARK: - Navigation

     // In a storyboard-based application, you will often want to do a little preparation before navigation
     override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
         // Get the new view controller using segue.destination.
         // Pass the selected object to the new view controller.
     }
     */
}