Type Aliases

The following type aliases are available globally.

  • A protocol that defines additional information that can be associated with an attachment.

    Types conforming to this protocol must be Hashable to ensure they work properly with the AttachmentInfo enum’s Hashable conformance.

    Declaration

    Swift

    public typealias AttachmentExtraInfo = Hashable
  • A closure that creates and configures the underlying standard Button<EmptyView> used by FioriButton.

    Declaration

    Swift

    public typealias ButtonCreator = (@escaping () -> Void) -> Button<EmptyView>

    Parameters

    action

    The Fiori-specific action to inject into the button.

    Return Value

    A fully configured Button<EmptyView> (e.g., with init params like role).