view LazyBear/Tests/TestFraming.swift @ 324:3e64824cca3e

Working on HomeView
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Mon, 29 Mar 2021 20:59:41 +0200
parents
children
line wrap: on
line source

//
//  TestFraming.swift
//  LazyBear
//
//  Created by Dennis Concepción Martín on 29/3/21.
//

import SwiftUI

struct TestFraming: View {
    var body: some View {
        ZStack {
            RoundedRectangle(cornerRadius: 20)
                .fill(Color.blue)
            
            VStack {
                Spacer()
                Rectangle()
                    .fill(Color.blue)
                    .frame(height: 100)
                    .overlay(
                        LineView()
                    )
            }
            .padding(.bottom)
        }
    }
}

struct TestFraming_Previews: PreviewProvider {
    static var previews: some View {
        TestFraming()
    }
}