17 lines
350 B
Swift
17 lines
350 B
Swift
|
|
import SwiftUI
|
||
|
|
|
||
|
|
struct StatusDot: View {
|
||
|
|
let color: Color
|
||
|
|
|
||
|
|
var body: some View {
|
||
|
|
Circle()
|
||
|
|
.fill(color)
|
||
|
|
.frame(width: 10, height: 10)
|
||
|
|
.overlay(
|
||
|
|
Circle()
|
||
|
|
.stroke(Color.white.opacity(0.65), lineWidth: 1)
|
||
|
|
)
|
||
|
|
.accessibilityHidden(true)
|
||
|
|
}
|
||
|
|
}
|