This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
struct ScrollHeartViewComponent: View { | |
@State var isAnimated = false | |
var body: some View { | |
LazyHStack { | |
Image(systemName: "heart") | |
.font(.system(size: 60)) | |
.foregroundStyle(.red.opacity(0.5)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct DashedRect: View { | |
@State private var dashAngle: CGFloat = 0 | |
@State private var dashAngle2: CGFloat = 10 | |
var body: some View { | |
VStack { | |
HStack { | |
} | |
} |