md-app/ios/SearchWidget/AppIntent.swift

19 lines
462 B
Swift

//
// AppIntent.swift
// SearchWidget
//
// Created by Johann Villegas on 9/04/25.
//
import WidgetKit
import AppIntents
struct ConfigurationAppIntent: WidgetConfigurationIntent {
static var title: LocalizedStringResource { "Configuration" }
static var description: IntentDescription { "This is an example widget." }
// An example configurable parameter.
@Parameter(title: "Favorite Emoji", default: "😃")
var favoriteEmoji: String
}