PreferenceCenterAlertView

@MainActor
public struct PreferenceCenterAlertView : View

The Preference Center alert item view

  • The item’s config

    Declaration

    Swift

    @MainActor
    public let item: PreferenceCenterConfig.Alert
  • The preference state

    Declaration

    Swift

    @ObservedObject
    @MainActor
    public var state: PreferenceCenterState { get set }
  • Declaration

    Swift

    @ViewBuilder
    @MainActor
    public var body: some View { get }