mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
18 lines
333 B
Swift
18 lines
333 B
Swift
import SwiftUI
|
|
|
|
struct RequestPositionButton: View {
|
|
let action: () -> Void
|
|
|
|
var body: some View {
|
|
Button(action: action) {
|
|
Image(systemName: "mappin.and.ellipse")
|
|
.foregroundColor(.primary)
|
|
}
|
|
}
|
|
}
|
|
|
|
struct RequestPositionButtonPreview: PreviewProvider {
|
|
static var previews: some View {
|
|
RequestPositionButton {}
|
|
}
|
|
}
|