Files
sodalive-ios/SodaLive/Sources/V2/CreatorChannel/Components/CreatorChannelFloatingIconButton.swift
2026-07-05 00:44:03 +09:00

22 lines
570 B
Swift

import SwiftUI
struct CreatorChannelFloatingIconButton: View {
let imageName: String
let backgroundColor: Color
let accessibilityLabel: String
let action: () -> Void
var body: some View {
Button(action: action) {
Image(imageName)
.resizable()
.frame(width: 38, height: 38)
.frame(width: 66, height: 66)
.background(backgroundColor)
.clipShape(Circle())
}
.accessibilityLabel(accessibilityLabel)
.buttonStyle(.plain)
}
}