Bubble/Threaded/Components/Post/QuotePostView.swift

20 lines
530 B
Swift
Raw Normal View History

2024-01-03 09:54:05 +01:00
//Made by Lumaa
import SwiftUI
struct QuotePostView: View {
2024-01-03 09:55:18 +01:00
@Environment(Navigator.self) private var navigator: Navigator
var status: Status
2024-01-03 09:54:05 +01:00
var body: some View {
2024-01-06 02:51:48 +01:00
CompactPostView(status: status, navigator: navigator, quoted: true)
.frame(maxWidth: 250, maxHeight: 200)
2024-01-04 23:55:00 +01:00
.padding(15)
2024-01-06 02:51:48 +01:00
.padding([.horizontal], 20)
2024-01-03 09:55:18 +01:00
.overlay(
RoundedRectangle(cornerRadius: 15)
.stroke(.gray.opacity(0.3), lineWidth: 1)
)
}
2024-01-03 09:54:05 +01:00
}