Files
attendi/Widgets/Attendi/Sources/Intents/AppIntent.swift
T

19 lines
535 B
Swift
Raw Normal View History

import WidgetKit
import AppIntents
/// The configuration intent of the ``AttendiWidget`` placeholder, as scaffolded by the Xcode widget template.
struct ConfigurationAppIntent: WidgetConfigurationIntent {
// MARK: Constants
static var title: LocalizedStringResource { "Configuration" }
static var description: IntentDescription { "This is an example widget." }
// MARK: Properties
/// An example configurable parameter.
@Parameter(title: "Favorite Emoji", default: "😃")
var favoriteEmoji: String
}