mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2024-12-11 08:57:58 +01:00
21 lines
544 B
Swift
21 lines
544 B
Swift
//Made by Lumaa
|
|
|
|
import SwiftUI
|
|
|
|
struct QuotePostView: View {
|
|
@Environment(Navigator.self) private var navigator: Navigator
|
|
var status: Status
|
|
|
|
var body: some View {
|
|
CompactPostView(status: status, quoted: true)
|
|
.environment(navigator)
|
|
.frame(maxWidth: 250, maxHeight: 200)
|
|
.padding(15)
|
|
.padding([.horizontal], 20)
|
|
.overlay(
|
|
RoundedRectangle(cornerRadius: 15)
|
|
.stroke(.gray.opacity(0.3), lineWidth: 1)
|
|
)
|
|
}
|
|
}
|