// // AutoSlideCharacterBannerView.swift // SodaLive // // Created by klaus on 8/29/25. // import SwiftUI import Kingfisher struct AutoSlideCharacterBannerView: View { var items: [CharacterBannerResponse] = [] var onTap: (CharacterBannerResponse) -> Void = { _ in } @State private var index: Int = 0 @State private var height: CGFloat = 0 private let timer = Timer.publish(every: 4, on: .main, in: .common).autoconnect() var body: some View { TabView(selection: $index) { ForEach(0..