Skip to content

Instantly share code, notes, and snippets.

View neuroswish's full-sized avatar
🎯
Focusing

Kiran neuroswish

🎯
Focusing
View GitHub Profile
import SwiftUI
struct ChatGPTTextField: View {
// MARK: - State
/// State to hold our `TextField` query.
@State private var queryMessage: String = ""
/// Focus state for our `TextField`.
struct Overlay: View {
@State private var showLive = true
@State private var isAnimationSlowed = false
var body: some View {
VStack {
Spacer()
HStack {
Spacer()