import SwiftUI
import Bedrock

struct SuggestionChip: View {
    let text: String
    let action: () -> Void

    var body: some View {
        Button(action: action) {
            Text(text)
                .typography(.subheading)
                .padding(.horizontal, Design.Spacing.medium)
                .padding(.vertical, Design.Spacing.small)
                .background(Color.AppBackground.elevated)
                .clipShape(.capsule)
                .overlay(
                    Capsule()
                        .stroke(Color.Text.secondary.opacity(Design.Opacity.light), lineWidth: Design.LineWidth.thin)
                )
        }
        .buttonStyle(.plain)
    }
}
