You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Apple/Sources/allin/allin/Views/GradiantCard.swift

29 lines
558 B

//
// GradiantCard.swift
// AllIn
//
// Created by étudiant on 21/09/2023.
//
import SwiftUI
struct GradiantCard: View{
var body: some View {
Rectangle()
.stroke(
LinearGradient(
gradient: AllinColor.gradiantCard,
startPoint: .topLeading,
endPoint: .bottomTrailing
),
lineWidth: 5
)
}
}
struct GradiantCard_Previews: PreviewProvider {
static var previews: some View {
GradiantCard()
}
}