view LazyBear/Views/Global Helpers/RowShape.swift @ 405:fd8df65927e9

Implementing CapsuleChart in insiders
author Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
date Sat, 05 Jun 2021 19:04:44 +0200
parents
children 2984d8946342
line wrap: on
line source

//
//  RowShape.swift
//  LazyBear
//
//  Created by Dennis Concepción Martín on 5/6/21.
//

import SwiftUI

struct RowShape: View {
    var body: some View {
        RoundedRectangle(cornerRadius: 25)
            .foregroundColor(Color("CustomSecondaryBackground"))
            .shadow(color: Color(.gray).opacity(0.15), radius: 10)
    }
}

struct RowShape_Previews: PreviewProvider {
    static var previews: some View {
        RowShape()
    }
}